31 #include <tqstringlist.h>
32 #include "folderjob.h"
48 class ImapAccountBase;
65 SearchJob( KMFolderImap* folder, ImapAccountBase* account,
71 virtual void execute();
75 void searchCompleteFolder();
78 void searchSingleMessage();
92 void slotSearchFolder();
95 void slotSearchData( TDEIO::Job* job, const TQString& data );
98 void slotSearchMessageArrived( KMMessage* msg );
101 void slotSearchResult( TDEIO::Job *job );
104 void slotSearchDataSingleMessage( TDEIO::Job* job, const TQString& data );
107 void slotAbortSearch( KPIM::ProgressItem* item );
111 void searchDone( TQValueList<TQ_UINT32>, const KMSearchPattern*, bool complete );
117 KMFolderImap* mFolder;
118 ImapAccountBase* mAccount;
123 TQStringList mImapSearchHits;
125 TQValueList<TQ_UINT32> mSearchSerNums;
129 KPIM::ProgressItem *mProgress;
130 bool mUngetCurrentMsg;
This class is an abstraction of a search over messages.
SearchJob(KMFolderImap *folder, ImapAccountBase *account, const KMSearchPattern *pattern, TQ_UINT32 serNum=0) Creates a new job.
|