Each PySide.QtWebKit.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.
Function Description PySide.QtWebKit.QWebHistoryItem.title() The page title. PySide.QtWebKit.QWebHistoryItem.url() The location of the page. PySide.QtWebKit.QWebHistoryItem.originalUrl() The URL used to access the page. PySide.QtWebKit.QWebHistoryItem.lastVisited() The date and time of the user’s last visit to the page. PySide.QtWebKit.QWebHistoryItem.icon() The icon associated with the page that was provided by the server. PySide.QtWebKit.QWebHistoryItem.userData() The user specific data that was stored with the history item.
PySide.QtWebKit.QWebHistoryItem objects are value based, but explicitly shared . Changing a PySide.QtWebKit.QWebHistoryItem instance by calling PySide.QtWebKit.QWebHistoryItem.setUserData() will change all copies of that instance.
|Parameters:||other – PySide.QtWebKit.QWebHistoryItem|
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.
Returns the icon associated with the history item.
Returns whether this is a valid history item.
Returns the date and time that the page associated with the item was last visited.
Returns the original URL associated with the history item.
|Parameters:||userData – object|
Stores user specific data userData with the history item.
All copies of this item will be modified.
Returns the title of the page associated with the history item.
Returns the URL associated with the history item.
Returns the user specific data that was stored with the history item.