KMail::ListJob Class Reference
Generic folder list job for (d)imap accounts. More...
#include <listjob.h>
Collaboration diagram for KMail::ListJob:

Signals | |
| void | receivedFolders (const QStringList &, const QStringList &, const QStringList &, const QStringList &, const ImapAccountBase::jobData &) |
Public Member Functions | |
| ListJob (FolderStorage *storage, ImapAccountBase *account, ImapAccountBase::ListType type, bool secondStep=false, bool complete=false, bool hasInbox=false, const QString &path=QString::null, KPIM::ProgressItem *item=0) | |
| virtual void | execute () |
Protected Slots | |
| void | slotListResult (KIO::Job *job) |
| void | slotListEntries (KIO::Job *job, const KIO::UDSEntryList &uds) |
| void | slotConnectionResult (int errorCode, const QString &errorMsg) |
Protected Member Functions | |
| void | doListing (const KURL &url, const ImapAccountBase::jobData &jd) |
Protected Attributes | |
| FolderStorage * | mStorage |
| ImapAccountBase * | mAccount |
| ImapAccountBase::ListType | mType |
| bool | mHasInbox |
| bool | mSecondStep |
| bool | mComplete |
| QString | mPath |
| QStringList | mSubfolderNames |
| QStringList | mSubfolderPaths |
| QStringList | mSubfolderMimeTypes |
| QStringList | mSubfolderAttributes |
| KPIM::ProgressItem * | mParentProgressItem |
Detailed Description
Generic folder list job for (d)imap accounts.
Definition at line 54 of file listjob.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||||||||||||||
|
Create a new job.
Definition at line 48 of file listjob.cpp. |
Member Function Documentation
|
||||||||||||
|
Does the actual KIO::listDir.
|
|
|
Is called when the listing is done Passes the folders and the jobData to the responding folder.
Definition at line 148 of file listjob.cpp. References receivedFolders(). |
|
||||||||||||
|
Collects the folder information.
Definition at line 171 of file listjob.cpp. |
|
||||||||||||
|
Called from the account when a connection was established.
Definition at line 136 of file listjob.cpp. |
|
||||||||||||||||||||||||
|
Emitted when new folders have been received.
Referenced by slotListResult(). |
The documentation for this class was generated from the following files:
