kmail
kmacctmaildir.h
Go to the documentation of this file.00001 /* KMail account for maildir mail folders 00002 * 00003 */ 00004 #ifndef kmacctmaildir_h 00005 #define kmacctmaildir_h 00006 00007 #include "kmaccount.h" 00008 #include "kmglobal.h" 00009 00010 class KMAcctMaildir: public KMAccount 00011 { 00012 protected: 00013 friend class ::AccountManager; 00014 00015 KMAcctMaildir(AccountManager* owner, const QString& accountName, uint id); 00016 00017 public: 00018 virtual ~KMAcctMaildir(); 00019 virtual void init(void); 00020 virtual void pseudoAssign( const KMAccount * a ); 00021 00024 const QString& location(void) const { return mLocation; } 00025 virtual void setLocation(const QString&); 00026 00027 virtual QString type(void) const; 00028 virtual void processNewMail(bool); 00029 virtual void readConfig(KConfig&); 00030 virtual void writeConfig(KConfig&); 00031 00032 protected: 00033 QString mLocation; 00034 bool hasNewMail; 00035 }; 00036 00037 #endif /*kmacctmaildir_h*/