kmail

KMAcctMaildir Class Reference

#include <kmacctmaildir.h>

Inheritance diagram for KMAcctMaildir:

List of all members.


Public Member Functions

virtual void init (void)
const QStringlocation (void) const
virtual void processNewMail (bool)
virtual void pseudoAssign (const KMAccount *a)
virtual void readConfig (KConfig &)
virtual void setLocation (const QString &)
virtual QString type (void) const
virtual void writeConfig (KConfig &)
virtual ~KMAcctMaildir ()

Protected Member Functions

 KMAcctMaildir (AccountManager *owner, const QString &accountName, uint id)

Protected Attributes

bool hasNewMail
QString mLocation

Detailed Description

Definition at line 10 of file kmacctmaildir.h.


Constructor & Destructor Documentation

KMAcctMaildir::KMAcctMaildir ( AccountManager owner,
const QString accountName,
uint  id 
) [protected]

Definition at line 36 of file kmacctmaildir.cpp.

KMAcctMaildir::~KMAcctMaildir (  )  [virtual]

Definition at line 43 of file kmacctmaildir.cpp.


Member Function Documentation

void KMAcctMaildir::init ( void   )  [virtual]

Set intelligent default values to the fields of the account.

Reimplemented from KMAccount.

Definition at line 57 of file kmacctmaildir.cpp.

const QString& KMAcctMaildir::location ( void   )  const [inline]

Access to location of maildir mail file (usually something like "/home/joe/Maildir").

Definition at line 24 of file kmacctmaildir.h.

void KMAcctMaildir::processNewMail ( bool  interactive  )  [virtual]

Process new mail for this account if one arrived.

Returns TRUE if new mail has been found. Whether the mail is automatically loaded to an associated folder or not depends on the type of the account.

Implements KMAccount.

Definition at line 80 of file kmacctmaildir.cpp.

void KMAcctMaildir::pseudoAssign ( const KMAccount a  )  [virtual]

A weak assignment operator.

Reimplemented from KMAccount.

Definition at line 69 of file kmacctmaildir.cpp.

void KMAcctMaildir::readConfig ( KConfig &  config  )  [virtual]

Read config file entries.

This method is called by the account manager when a new account is created. The config group is already properly set by the caller.

Reimplemented from KMAccount.

Definition at line 216 of file kmacctmaildir.cpp.

void KMAcctMaildir::setLocation ( const QString aLocation  )  [virtual]

Definition at line 231 of file kmacctmaildir.cpp.

QString KMAcctMaildir::type ( void   )  const [virtual]

Returns type of the account.

Reimplemented from KMAccount.

Definition at line 50 of file kmacctmaildir.cpp.

void KMAcctMaildir::writeConfig ( KConfig &  config  )  [virtual]

Write all account information to given config file.

The config group is already properly set by the caller.

Reimplemented from KMAccount.

Definition at line 224 of file kmacctmaildir.cpp.


Member Data Documentation

bool KMAcctMaildir::hasNewMail [protected]

Definition at line 34 of file kmacctmaildir.h.

Definition at line 33 of file kmacctmaildir.h.


The documentation for this class was generated from the following files: