kmail

KMail::SearchJob Class Reference

#include <searchjob.h>

Inherits KMail::FolderJob.

List of all members.


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 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 KMSearchPatternmSearchPattern
KMSearchPatternmLocalSearchPattern
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.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys