KMail::ListJob Class Reference
Generic folder list job for (d)imap accounts. More...
#include <listjob.h>
Inherits KMail::FolderJob.
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.
Constructor & Destructor Documentation
|
Create a new job.
|
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.
|
|
Collects the folder information.
|
|
Called from the account when a connection was established.
|
|
Emitted when new folders have been received.
|
The documentation for this class was generated from the following files:
- listjob.h
- listjob.cpp