kmail

KMAcctMaildir Class Reference

Inheritance diagram for KMAcctMaildir:

KMAccount List of all members.

Detailed Description

Definition at line 10 of file kmacctmaildir.h.


Public Member Functions

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

Protected Member Functions

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

Protected Attributes

QString mLocation
bool hasNewMail

Friends

class ::AccountManager

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.

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

A weak assignment operator.

Reimplemented from KMAccount.

Definition at line 69 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.

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

Returns type of the account.

Reimplemented from KMAccount.

Definition at line 50 of file kmacctmaildir.cpp.

void KMAcctMaildir::processNewMail ( bool   )  [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::readConfig ( KConfig &   )  [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::writeConfig ( KConfig &   )  [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.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys