QWebHistoryItem Class ReferenceThe QWebHistoryItem class represents one item in the history of a QWebPage More... #include <QWebHistoryItem> This class was introduced in Qt 4.4. Public Functions
Detailed DescriptionThe 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.
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. Member Function DocumentationQWebHistoryItem::QWebHistoryItem ( const 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. QWebHistoryItem::~QWebHistoryItem ()Destroys the history item. QIcon QWebHistoryItem::icon () constReturns the icon associated with the history item. See also title(), url(), and lastVisited(). bool QWebHistoryItem::isValid () constReturns whether this is a valid history item. This function was introduced in Qt 4.5. QDateTime QWebHistoryItem::lastVisited () constReturns the date and time that the page associated with the item was last visited. See also title(), icon(), and url(). QUrl QWebHistoryItem::originalUrl () constReturns the original URL associated with the history item. See also url(). void QWebHistoryItem::setUserData ( const QVariant & userData )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. See also userData(). QString QWebHistoryItem::title () constReturns the title of the page associated with the history item. See also icon(), url(), and lastVisited(). QUrl QWebHistoryItem::url () constReturns the URL associated with the history item. See also originalUrl(), title(), and lastVisited(). QVariant QWebHistoryItem::userData () constReturns the user specific data that was stored with the history item. This function was introduced in Qt 4.5. See also setUserData(). QWebHistoryItem & QWebHistoryItem::operator= ( const QWebHistoryItem & other )Assigns the other history item to this. This item and other will share their data, and modifying either this item or other will modify both instances. X
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |