kmail

kmacctmaildir.h
1 /* KMail account for maildir mail folders
2  *
3  */
4 #ifndef kmacctmaildir_h
5 #define kmacctmaildir_h
6 
7 #include "kmaccount.h"
8 #include "kmglobal.h"
9 
10 class KMAcctMaildir: public KMAccount
11 {
12 protected:
13  friend class ::AccountManager;
14 
15  KMAcctMaildir(AccountManager* owner, const TQString& accountName, uint id);
16 
17 public:
18  virtual ~KMAcctMaildir();
19  virtual void init(void);
20  virtual void pseudoAssign( const KMAccount * a );
21 
24  const TQString& location(void) const { return mLocation; }
25  virtual void setLocation(const TQString&);
26 
27  virtual TQString type(void) const;
28  virtual void processNewMail(bool);
29  virtual void readConfig(TDEConfig&);
30  virtual void writeConfig(TDEConfig&);
31 
32 protected:
33  TQString mLocation;
34  bool hasNewMail;
35 };
36 
37 #endif /*kmacctmaildir_h*/
The account manager is responsible for creating accounts of various types via the factory method crea...