kmail
KMail::SearchJob Class Reference
Search job. More...
#include <searchjob.h>
Inherits KMail::FolderJob.
Signals | |
void | searchDone (TQValueList< Q_UINT32 >, const KMSearchPattern *, bool complete) |
void | searchDone (Q_UINT32, const KMSearchPattern *, bool matches) |
Public Member Functions | |
SearchJob (KMFolderImap *folder, ImapAccountBase *account, const KMSearchPattern *pattern, Q_UINT32 serNum=0) | |
virtual void | execute () |
Protected Slots | |
void | slotSearchFolder () |
void | slotSearchData (KIO::Job *job, const TQString &data) |
void | slotSearchMessageArrived (KMMessage *msg) |
void | slotSearchResult (KIO::Job *job) |
void | slotSearchDataSingleMessage (KIO::Job *job, const TQString &data) |
void | slotAbortSearch (KPIM::ProgressItem *item) |
Protected Member Functions | |
void | searchCompleteFolder () |
void | searchSingleMessage () |
TQString | searchStringFromPattern (const KMSearchPattern *) |
bool | canMapAllUIDs () |
bool | needsDownload () |
Protected Attributes | |
KMFolderImap * | mFolder |
ImapAccountBase * | mAccount |
const KMSearchPattern * | mSearchPattern |
KMSearchPattern * | mLocalSearchPattern |
Q_UINT32 | mSerNum |
TQStringList | mImapSearchHits |
TQValueList< Q_UINT32 > | mSearchSerNums |
uint | mRemainingMsgs |
KPIM::ProgressItem * | mProgress |
bool | mUngetCurrentMsg |
Detailed Description
Search job.Definition at line 53 of file searchjob.h.
Constructor & Destructor Documentation
KMail::SearchJob::SearchJob | ( | KMFolderImap * | folder, | |
ImapAccountBase * | account, | |||
const KMSearchPattern * | pattern, | |||
Q_UINT32 | serNum = 0 | |||
) |
Creates a new job.
- Parameters:
-
folder the folder that should be searched account the ImapAccountBase of the folder pattern the search pattern serNum if you specify the serNum only this is checked
Definition at line 53 of file searchjob.cpp.
The documentation for this class was generated from the following files: