31 #include "folderjob.h" 32 #include "imapaccountbase.h" 35 class KMFolderCachedImap;
37 class KMAcctCachedImap;
69 ListJob( ImapAccountBase* account, ImapAccountBase::ListType type,
70 FolderStorage* storage = 0,
const TQString& path = TQString(),
71 bool complete =
false, KPIM::ProgressItem* item = 0 );
80 void setHonorLocalSubscription(
bool value );
87 bool honorLocalSubscription()
const;
89 virtual void execute();
92 void setPath(
const TQString& path ) { mPath = path; }
102 mParentProgressItem = it; }
112 void slotListResult( TDEIO::Job* job );
117 void slotListEntries( TDEIO::Job* job,
const TDEIO::UDSEntryList& uds );
122 void slotConnectionResult(
int errorCode,
const TQString& errorMsg );
128 void receivedFolders(
const TQStringList&,
const TQStringList&,
133 ImapAccountBase* mAccount;
134 ImapAccountBase::ListType mType;
136 bool mHonorLocalSubscription;
138 TQStringList mSubfolderNames, mSubfolderPaths,
139 mSubfolderMimeTypes, mSubfolderAttributes;
140 KPIM::ProgressItem* mParentProgressItem;
void setNamespace(const TQString &ns)
Set the namespace for this listing.
void setComplete(bool complete)
Set this to true for a complete listing.
void setStorage(FolderStorage *st)
Storage.
void setPath(const TQString &path)
Path.
Generic folder list job for (d)imap accounts.
The FolderStorage class is the bass class for the storage related aspects of a collection of mail (a ...
void setParentProgressItem(KPIM::ProgressItem *it)
Set parent progress item.