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.
49 lines
1.1 KiB
49 lines
1.1 KiB
/* KMail account for local mail folders |
|
* |
|
*/ |
|
#ifndef kmacctlocal_h |
|
#define kmacctlocal_h |
|
|
|
#include "kmaccount.h" |
|
#include "kmglobal.h" |
|
|
|
#define KMAcctLocalInherited KMAccount |
|
|
|
class KMAcctLocal: public KMAccount |
|
{ |
|
protected: |
|
friend class KMAcctMgr; |
|
|
|
KMAcctLocal(KMAcctMgr* owner, const QString& 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&); |
|
|
|
/** Acceso to Locking method */ |
|
LockType lockType(void) { return mLock; } |
|
void setLockType(LockType lt) { mLock = lt; } |
|
|
|
const QString& procmailLockFileName(void) { return mProcmailLockFileName; } |
|
void setProcmailLockFileName(QString s); |
|
|
|
virtual QString type(void) const; |
|
virtual void processNewMail(bool); |
|
virtual void readConfig(KConfig&); |
|
virtual void writeConfig(KConfig&); |
|
virtual void pseudoAssign(KMAccount*); |
|
|
|
LockType mLock; |
|
|
|
protected: |
|
QString mLocation; |
|
QString mProcmailLockFileName; |
|
bool hasNewMail; |
|
}; |
|
|
|
#endif /*kmacctlocal_h*/
|
|
|