libkonq Library API Documentation

KonqHistoryList Class Reference

Inheritance diagram for KonqHistoryList:

QPtrList List of all members.

Public Member Functions

KonqHistoryEntryfindEntry (const KURL &url)

Protected Member Functions

virtual int compareItems (QPtrCollection::Item, QPtrCollection::Item)

Detailed Description

Definition at line 46 of file konq_historymgr.h.


Member Function Documentation

KonqHistoryEntry * KonqHistoryList::findEntry const KURL &  url  ) 
 

Finds an entry by URL.

The found item will also be current(). If no matching entry is found, 0L is returned and current() will be the first item in the list.

Definition at line 699 of file konq_historymgr.cc.

References QPtrList::last(), QPtrList::prev(), and KonqHistoryEntry::url.

Referenced by KonqHistoryManager::notifyRemove().

int KonqHistoryList::compareItems QPtrCollection::Item  ,
QPtrCollection::Item 
[protected, virtual]
 

Ensures that the items are sorted by the lastVisited date.

Reimplemented from QPtrList.

Definition at line 714 of file konq_historymgr.cc.

References KonqHistoryEntry::lastVisited.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkonq Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 13 19:27:51 2006 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003