diff options
Diffstat (limited to 'kmail/kmacctmaildir.h')
-rw-r--r-- | kmail/kmacctmaildir.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/kmail/kmacctmaildir.h b/kmail/kmacctmaildir.h new file mode 100644 index 000000000..05b90833c --- /dev/null +++ b/kmail/kmacctmaildir.h @@ -0,0 +1,37 @@ +/* KMail account for maildir mail folders + * + */ +#ifndef kmacctmaildir_h +#define kmacctmaildir_h + +#include "kmaccount.h" +#include "kmglobal.h" + +class KMAcctMaildir: public KMAccount +{ +protected: + friend class ::AccountManager; + + KMAcctMaildir(AccountManager* owner, const QString& accountName, uint id); + +public: + virtual ~KMAcctMaildir(); + virtual void init(void); + virtual void pseudoAssign( const KMAccount * a ); + + /** Access to location of maildir mail file (usually something like + "/home/joe/Maildir"). */ + const QString& location(void) const { return mLocation; } + virtual void setLocation(const QString&); + + virtual QString type(void) const; + virtual void processNewMail(bool); + virtual void readConfig(KConfig&); + virtual void writeConfig(KConfig&); + +protected: + QString mLocation; + bool hasNewMail; +}; + +#endif /*kmacctmaildir_h*/ |