25 #include "imapaccountbase.h"
29 class KMFolderTreeItem;
32 class ActionScheduler;
40 class KMAcctImap: public KMail::ImapAccountBase
44 friend class KMail::ImapJob;
47 virtual ~KMAcctImap();
50 virtual void pseudoAssign( const KMAccount * a );
55 virtual TQString type( void) const;
56 virtual void processNewMail( bool);
57 ConnectionState makeConnection();
62 virtual void ignoreJobsForMessage( KMMessage * msg );
63 virtual void ignoreJobsForFolder( KMFolder * folder );
64 virtual void removeSlaveJobsForFolder( KMFolder * folder );
69 virtual void killAllJobs( bool disconnectSlave= false );
74 virtual void setImapFolder(KMFolderImap *);
79 virtual void listDirectory();
86 virtual void readConfig(TDEConfig& config);
96 void execFilters(TQ_UINT32 serNum);
102 void slotFiltered(TQ_UINT32 serNum);
103 void slotUpdateFolderList();
106 friend class ::AccountManager;
107 KMAcctImap( AccountManager* owner, const TQString& accountName, uint id);
112 virtual bool handleError( int error, const TQString &errorMsg, TDEIO::Job* job, const TQString& context, bool abortSync = false );
113 virtual void cancelMailCheck();
115 TQPtrList<KMail::ImapJob> mJobList;
116 TQGuardedPtr<KMFolderImap> mFolder;
120 void postProcessNewMail(KMFolderImap*, bool);
125 void postProcessNewMail( KMFolder * f );
131 void slotMailCheckCanceled();
136 void slotResetConnectionError();
141 void slotFolderSelected( KMFolderImap*, bool );
145 int mCountRemainChecks;
148 TQValueList<TQ_UINT32> mFilterSerNums;
149 TQDict<int> mFilterSerNumsToSave;
150 KMail::ActionScheduler *mScheduler;
The FolderStorage class is the bass class for the storage related aspects of a collection of mail (a ...
The account manager is responsible for creating accounts of various types via the factory method crea...
|