kmail Library API Documentation

kmacctlocal.h

00001 /* KMail account for local mail folders
00002  *
00003  */
00004 #ifndef kmacctlocal_h
00005 #define kmacctlocal_h
00006 
00007 #include "kmaccount.h"
00008 #include "kmglobal.h"
00009 
00010 class KMAcctLocal: public KMAccount
00011 {
00012 protected:
00013   friend class KMAcctMgr;
00014 
00015   KMAcctLocal(KMAcctMgr* owner, const QString& accountName);
00016 
00017 public:
00018   virtual ~KMAcctLocal();
00019   virtual void init(void);
00020 
00021   virtual void pseudoAssign( const KMAccount * a );
00022 
00025   QString location(void) const { return mLocation; }
00026   virtual void setLocation(const QString&);
00027 
00029   LockType lockType(void) const { return mLock; }
00030   void setLockType(LockType lt) { mLock = lt; }
00031 
00032   QString procmailLockFileName(void) const { return mProcmailLockFileName; }
00033   void setProcmailLockFileName(const QString& s);
00034 
00035   virtual QString type(void) const;
00036   virtual void processNewMail(bool);
00037   virtual void readConfig(KConfig&);
00038   virtual void writeConfig(KConfig&);
00039 
00040   LockType mLock;
00041 
00042 protected:
00043   QString mLocation;
00044   QString mProcmailLockFileName;
00045   bool hasNewMail;
00046 };
00047 
00048 #endif /*kmacctlocal_h*/
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:19 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003