1 /* KMail account for local mail folders
10 class KMAcctLocal
: public KMAccount
13 friend class ::AccountManager
;
15 KMAcctLocal(AccountManager
* owner
, const QString
& accountName
, uint id
);
18 virtual ~KMAcctLocal();
19 virtual void init(void);
21 virtual void pseudoAssign( const KMAccount
* a
);
23 /** Access to location of local mail file (usually something like
24 "/var/spool/mail/joe"). */
25 QString
location(void) const { return mLocation
; }
26 virtual void setLocation(const QString
&);
28 /** Acceso to Locking method */
29 LockType
lockType(void) const { return mLock
; }
30 void setLockType(LockType lt
) { mLock
= lt
; }
32 QString
procmailLockFileName(void) const { return mProcmailLockFileName
; }
33 void setProcmailLockFileName(const QString
& s
);
35 virtual void processNewMail(bool);
36 virtual void readConfig(KConfigGroup
&);
37 virtual void writeConfig(KConfigGroup
&);
46 QString mProcmailLockFileName
;
52 KMFolder
*mMailFolder
;
55 #endif /*kmacctlocal_h*/