Lines Matching refs:item
45 \brief The QWebHistoryItem class represents one item in the history of a QWebPage
52 The following table shows the properties of the page held by the history item, and
62 \row \o userData() \o The user specific data that was stored with the history item.
73 Constructs a history item from \a other. The new item and \a other
74 will share their data, and modifying either this item or \a other will
83 Assigns the \a other history item to this. This item and \a other
84 will share their data, and modifying either this item or \a other will
94 Destroys the history item.
101 Returns the original URL associated with the history item.
107 if (d->item)
108 return d->item->originalURL();
114 Returns the URL associated with the history item.
120 if (d->item)
121 return d->item->url();
127 Returns the title of the page associated with the history item.
133 if (d->item)
134 return d->item->title();
140 Returns the date and time that the page associated with the item was last visited.
147 if (d->item)
148 return QDateTime::fromTime_t((uint)d->item->lastVisitedTime());
154 Returns the icon associated with the history item.
160 if (d->item)
161 return *WebCore::iconDatabase().synchronousIconForPageURL(d->item->url(), WebCore::IntSize(16, 16))->nativeImageForCurrentFrame();
168 Returns the user specific data that was stored with the history item.
174 if (d->item)
175 return d->item->userData();
182 Stores user specific data \a userData with the history item.
184 \note All copies of this item will be modified.
190 if (d->item)
191 d->item->setUserData(userData);
204 Returns whether this is a valid history item.
208 return d->item;
222 The history uses the concept of a \e{current item}, dividing the pages visited
224 back() and forward() functions. The current item can be obtained by calling
225 currentItem(), and an arbitrary item in the history can be made the current
226 item by passing it to goToItem().
279 lst->addItem(current.get()); //insert old current item
341 Returns true if there is an item preceding the current item in the history;
352 Returns true if we have an item to go forward to; otherwise returns false.
362 Set the current item to be the previous item in the history and goes to the
363 corresponding page; i.e., goes back one history item.
376 Sets the current item to be the next item in the history and goes to the
377 corresponding page; i.e., goes forward one history item.
390 Sets the current item to be the specified \a item in the history and goes to the page.
394 void QWebHistory::goToItem(const QWebHistoryItem &item)
397 page->goToItem(item.d->item, WebCore::FrameLoadTypeIndexedBackForward);
401 Returns the item before the current item in the history.
411 Returns the current item in the history.
421 Returns the item after the current item in the history.
432 Returns the index of the current item in history.
440 Returns the item at index \a i in the history.
448 WebCore::HistoryItem *item = d->lst->entries()[i].get();
449 priv = new QWebHistoryItemPrivate(item);
539 WTF::PassRefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create();
540 item->restoreState(source, version);
541 d->lst->addItem(item);
562 return q->d->item;