kmail

KMAcctFolder Class Reference

#include <kmacctfolder.h>

Inheritance diagram for KMAcctFolder:
KMFolder

List of all members.

Public Member Functions

KMAccount * account ()
void addAccount (KMAccount *)
void removeAccount (KMAccount *)
void clearAccountList ()

Detailed Description

Simple wrapper class that contains the kmail account handling stuff that is usually not required outside kmail.

WARNING: do not add virtual methods in this class. This class is used as a typecast for KMFolder only !!

Author:
Stefan Taferner

Definition at line 34 of file kmacctfolder.h.


Member Function Documentation

KMAccount * KMAcctFolder::account ( )

Returns first account or 0 if no account is associated with this folder.

Definition at line 10 of file kmacctfolder.cpp.

void KMAcctFolder::addAccount ( KMAccount *  aAcct)

Add given account to the list.

Definition at line 18 of file kmacctfolder.cpp.

Clear list of accounts.

Definition at line 29 of file kmacctfolder.cpp.

void KMAcctFolder::removeAccount ( KMAccount *  aAcct)

Remove given account from the list.

Definition at line 36 of file kmacctfolder.cpp.


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