Home | History | Annotate | Download | only in Api

Lines Matching refs:items

224   A list of items describing the pages that can be visited by going back can be
225 obtained by calling the backItems() function; similarly, items describing the
227 The total list of items is obtained with the items() function.
230 of a list. Arbitrary items in the history can be obtained with itemAt(), the total
231 number of items is given by count(), and the history can be cleared with the
254 \sa count(), items()
282 Returns a list of all items currently in the history.
286 QList<QWebHistoryItem> QWebHistory::items() const
288 const WebCore::HistoryItemVector &items = d->lst->entries();
291 for (unsigned i = 0; i < items.size(); ++i) {
292 QWebHistoryItemPrivate *priv = new QWebHistoryItemPrivate(items[i].get());
299 Returns the list of items in the backwards history list.
306 WebCore::HistoryItemVector items(maxItems);
307 d->lst->backListWithLimit(maxItems, items);
310 for (unsigned i = 0; i < items.size(); ++i) {
311 QWebHistoryItemPrivate *priv = new QWebHistoryItemPrivate(items[i].get());
318 Returns the list of items in the forward history list.
325 WebCore::HistoryItemVector items(maxItems);
326 d->lst->forwardListWithLimit(maxItems, items);
329 for (unsigned i = 0; i < items.size(); ++i) {
330 QWebHistoryItemPrivate *priv = new QWebHistoryItemPrivate(items[i].get());
454 Returns the total number of items in the history.
463 Returns the maximum number of items in the history.
474 Sets the maximum number of items in the history to \a count.
502 const WebCore::HistoryItemVector &items = d->lst->entries();
503 for (unsigned i = 0; i < items.size(); i++)
504 items[i].get()->saveState(target, version);