#include <searchjob.h>

Inherits KMail::FolderJob.

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 (TDEIO::Job *job, const TQString &data)
 
void slotSearchMessageArrived (KMMessage *msg)
 
void slotSearchResult (TDEIO::Job *job)
 
void slotSearchDataSingleMessage (TDEIO::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

◆ SearchJob()

KMail::SearchJob::SearchJob ( KMFolderImap *  folder,
ImapAccountBase *  account,
const KMSearchPattern pattern,
TQ_UINT32  serNum = 0 
)

Creates a new job.

Parameters
folderthe folder that should be searched
accountthe ImapAccountBase of the folder
patternthe search pattern
serNumif 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: