kmail

KMAcctLocal Class Reference

#include <kmacctlocal.h>

Inheritance diagram for KMAcctLocal:

List of all members.


Public Member Functions

virtual void init (void)
QString location (void) const
LockType lockType (void) const
virtual void processNewMail (bool)
QString procmailLockFileName (void) const
virtual void pseudoAssign (const KMAccount *a)
virtual void readConfig (KConfig &)
virtual void setLocation (const QString &)
void setLockType (LockType lt)
void setProcmailLockFileName (const QString &s)
virtual QString type (void) const
virtual void writeConfig (KConfig &)
virtual ~KMAcctLocal ()

Protected Member Functions

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

Detailed Description

Definition at line 10 of file kmacctlocal.h.


Constructor & Destructor Documentation

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

Definition at line 32 of file kmacctlocal.cpp.

KMAcctLocal::~KMAcctLocal (  )  [virtual]

Definition at line 42 of file kmacctlocal.cpp.


Member Function Documentation

void KMAcctLocal::init ( void   )  [virtual]

Set intelligent default values to the fields of the account.

Reimplemented from KMAccount.

Definition at line 55 of file kmacctlocal.cpp.

QString KMAcctLocal::location ( void   )  const [inline]

Access to location of local mail file (usually something like "/var/spool/mail/joe").

Definition at line 25 of file kmacctlocal.h.

LockType KMAcctLocal::lockType ( void   )  const [inline]

Acceso to Locking method.

Definition at line 29 of file kmacctlocal.h.

void KMAcctLocal::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 74 of file kmacctlocal.cpp.

QString KMAcctLocal::procmailLockFileName ( void   )  const [inline]

Definition at line 32 of file kmacctlocal.h.

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

A weak assignment operator.

Reimplemented from KMAccount.

Definition at line 61 of file kmacctlocal.cpp.

void KMAcctLocal::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 272 of file kmacctlocal.cpp.

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

Definition at line 314 of file kmacctlocal.cpp.

void KMAcctLocal::setLockType ( LockType  lt  )  [inline]

Definition at line 30 of file kmacctlocal.h.

void KMAcctLocal::setProcmailLockFileName ( const QString s  ) 

Definition at line 319 of file kmacctlocal.cpp.

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

Returns type of the account.

Reimplemented from KMAccount.

Definition at line 48 of file kmacctlocal.cpp.

void KMAcctLocal::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 293 of file kmacctlocal.cpp.


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