kmail
KMail::ListJob Class Reference
#include <listjob.h>
Detailed Description
Generic folder list job for (d)imap accounts.
Definition at line 54 of file listjob.h.
Signals | |
void | receivedFolders (const QStringList &, const QStringList &, const QStringList &, const QStringList &, const ImapAccountBase::jobData &) |
Public Member Functions | |
ListJob (ImapAccountBase *account, ImapAccountBase::ListType type, FolderStorage *storage=0, const QString &path=QString::null, bool complete=false, KPIM::ProgressItem *item=0) | |
virtual void | execute () |
void | setPath (const QString &path) |
void | setStorage (FolderStorage *st) |
void | setComplete (bool complete) |
void | setParentProgressItem (KPIM::ProgressItem *it) |
void | setNamespace (const QString &ns) |
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 | mComplete |
QString | mPath |
QStringList | mSubfolderNames |
QStringList | mSubfolderPaths |
QStringList | mSubfolderMimeTypes |
QStringList | mSubfolderAttributes |
KPIM::ProgressItem * | mParentProgressItem |
QString | mNamespace |
Constructor & Destructor Documentation
|
Create a new job.
Definition at line 51 of file listjob.cpp. |
Member Function Documentation
|
Does the actual KIO::listDir.
|
|
Emitted when new folders have been received.
|
|
Set this to true for a complete listing.
|
|
Set the namespace for this listing.
|
|
Set parent progress item.
|
|
Path.
|
|
Storage.
|
|
Called from the account when a connection was established.
Definition at line 150 of file listjob.cpp. |
|
Collects the folder information.
Definition at line 185 of file listjob.cpp. |
|
Is called when the listing is done Passes the folders and the jobData to the responding folder.
Definition at line 162 of file listjob.cpp. |
The documentation for this class was generated from the following files: