kmail
KMail::SearchJob Class Reference
#include <searchjob.h>
Inheritance diagram for KMail::SearchJob:

Detailed Description
Search job.
Definition at line 53 of file searchjob.h.
Signals | |
void | searchDone (QValueList< 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 | ~SearchJob () |
virtual void | execute () |
Protected Slots | |
void | slotSearchFolder () |
void | slotSearchData (KIO::Job *job, const QString &data) |
void | slotSearchMessageArrived (KMMessage *msg) |
void | slotSearchResult (KIO::Job *job) |
void | slotSearchDataSingleMessage (KIO::Job *job, const QString &data) |
void | slotAbortSearch (KPIM::ProgressItem *item) |
Protected Member Functions | |
void | searchCompleteFolder () |
void | searchSingleMessage () |
QString | searchStringFromPattern (const KMSearchPattern *) |
bool | canMapAllUIDs () |
bool | needsDownload () |
Protected Attributes | |
KMFolderImap * | mFolder |
ImapAccountBase * | mAccount |
const KMSearchPattern * | mSearchPattern |
KMSearchPattern * | mLocalSearchPattern |
Q_UINT32 | mSerNum |
QStringList | mImapSearchHits |
QValueList< Q_UINT32 > | mSearchSerNums |
uint | mRemainingMsgs |
KPIM::ProgressItem * | mProgress |
bool | mUngetCurrentMsg |
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.
Member Function Documentation
void KMail::SearchJob::execute | ( | ) | [virtual] |
Has to be reimplemented.
It's called by the start() method. Should start the processing of the specified job function.
Implements KMail::FolderJob.
Definition at line 66 of file searchjob.cpp.
The documentation for this class was generated from the following files: