20 #ifndef KONQ_HISTORYCOMM_H
21 #define KONQ_HISTORYCOMM_H
23 #include <tqdatetime.h>
24 #include <tqstringlist.h>
26 #include <dcopobject.h>
29 class KonqHistoryEntry
33 static bool marshalURLAsStrings;
35 : numberOfTimesVisited(1) {}
40 TQ_UINT32 numberOfTimesVisited;
41 TQDateTime firstVisited;
42 TQDateTime lastVisited;
48 TQDataStream& operator<< (TQDataStream& s,
const KonqHistoryEntry& e);
49 TQDataStream& operator>> (TQDataStream& s, KonqHistoryEntry& e);
67 virtual ASYNC notifyHistoryEntry( KonqHistoryEntry e, TQCString saveId) = 0;
68 virtual ASYNC notifyMaxCount( TQ_UINT32 count, TQCString saveId ) = 0;
69 virtual ASYNC notifyMaxAge( TQ_UINT32 days, TQCString saveId ) = 0;
70 virtual ASYNC notifyClear( TQCString saveId ) = 0;
71 virtual ASYNC notifyRemove( KURL url, TQCString saveId ) = 0;
72 virtual ASYNC notifyRemove( KURL::List url, TQCString saveId ) = 0;
73 virtual TQStringList allURLs()
const = 0;
DCOP Methods for KonqHistoryManager.