You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
830 B

/* KMail account for local mail folders
*
*/
#ifndef kmacctlocal_h
#define kmacctlocal_h
#include "kmaccount.h"
#define KMAcctLocalInherited KMAccount
class KMAcctLocal: public KMAccount
{
protected:
friend class KMAcctMgr;
KMAcctLocal(KMAcctMgr* owner, const char* accountName);
public:
virtual ~KMAcctLocal();
virtual void init(void);
/** Access to location of local mail file (usually something like
"/var/spool/mail/joe"). */
const QString& location(void) const { return mLocation; }
virtual void setLocation(const QString&);
virtual const char* type(void) const;
virtual void processNewMail(bool);
virtual void readConfig(KConfig&);
virtual void writeConfig(KConfig&);
virtual void pseudoAssign(KMAccount*);
protected:
QString mLocation;
bool hasNewMail;
};
#endif /*kmacctlocal_h*/