Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtWebKit.QWebHistoryItem Class Reference

The QWebHistoryItem class represents one item in the history of a QWebPage More...

Inheritance diagram for QtWebKit.QWebHistoryItem:
Collaboration diagram for QtWebKit.QWebHistoryItem:

Public Member Functions

 QWebHistoryItem (QWebHistoryItem other)
 
 
virtual void CreateProxy ()
 
new QIcon Icon ()
 
 
new bool IsValid ()
 
 
new QDateTime LastVisited ()
 
 
new QUrl OriginalUrl ()
 
 
new string Title ()
 
 
new QUrl Url ()
 
 
new void Dispose ()
 

Protected Member Functions

 QWebHistoryItem (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

new object UserData [get, set]
 
 
virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QWebHistoryItem class represents one item in the history of a QWebPage

Each QWebHistoryItem instance represents an entry in the history stack of a Web page, containing information about the page, its location, and when it was last visited.

The following table shows the properties of the page held by the history item, and the functions used to access them.

FunctionDescription

title() The page title.

url() The location of the page.

originalUrl() The URL used to access the page.

lastVisited() The date and time of the user's last visit to the page.

icon() The icon associated with the page that was provided by the server.

userData() The user specific data that was stored with the history item.

Note: QWebHistoryItem objects are value based, but explicitly shared. Changing a QWebHistoryItem instance by calling setUserData() will change all copies of that instance.

See also QWebHistory, QWebPage::history(), and QWebHistoryInterface.

Constructor & Destructor Documentation

QtWebKit.QWebHistoryItem.QWebHistoryItem ( System.Type  dummy)
protected
QtWebKit.QWebHistoryItem.QWebHistoryItem ( QWebHistoryItem  other)

Constructs a history item from other. The new item and other will share their data, and modifying either this item or other will modify both instances.

Member Function Documentation

virtual void QtWebKit.QWebHistoryItem.CreateProxy ( )
virtual
new void QtWebKit.QWebHistoryItem.Dispose ( )
new QIcon QtWebKit.QWebHistoryItem.Icon ( )

Returns the icon associated with the history item.

See also title(), url(), and lastVisited().

new bool QtWebKit.QWebHistoryItem.IsValid ( )

Returns whether this is a valid history item.

This function was introduced in Qt 4.5.

new QDateTime QtWebKit.QWebHistoryItem.LastVisited ( )

Returns the date and time that the page associated with the item was last visited.

See also title(), icon(), and url().

new QUrl QtWebKit.QWebHistoryItem.OriginalUrl ( )

Returns the original URL associated with the history item.

See also url().

new string QtWebKit.QWebHistoryItem.Title ( )

Returns the title of the page associated with the history item.

See also icon(), url(), and lastVisited().

new QUrl QtWebKit.QWebHistoryItem.Url ( )

Returns the URL associated with the history item.

See also originalUrl(), title(), and lastVisited().

Member Data Documentation

SmokeInvocation QtWebKit.QWebHistoryItem.interceptor
protected

Property Documentation

virtual System.IntPtr QtWebKit.QWebHistoryItem.SmokeObject
getset
new object QtWebKit.QWebHistoryItem.UserData
getset

Returns the user specific data that was stored with the history item.

This function was introduced in Qt 4.5.

Stores user specific data userData with the history item.

Note: All copies of this item will be modified.

This function was introduced in Qt 4.5.