kmail

KMail::SearchJob Class Reference

Search job. More...

#include <searchjob.h>

Inherits KMail::FolderJob.

List of all members.

Signals

void searchDone (TQValueList< TQ_UINT32 >, const KMSearchPattern *, bool complete)
void searchDone (TQ_UINT32, const KMSearchPattern *, bool matches)

Public Member Functions

 SearchJob (KMFolderImap *folder, ImapAccountBase *account, const KMSearchPattern *pattern, TQ_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 KMSearchPatternmSearchPattern
KMSearchPatternmLocalSearchPattern
TQ_UINT32 mSerNum
TQStringList mImapSearchHits
TQValueList< TQ_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,
TQ_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: