kmail Library API Documentation

KMAcctFolder Class Reference

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

#include <kmacctfolder.h>

Inheritance diagram for KMAcctFolder:

Inheritance graph
[legend]
Collaboration diagram for KMAcctFolder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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 <taferner@alpin.or.at>

Definition at line 15 of file kmacctfolder.h.


Member Function Documentation

KMAccount * KMAcctFolder::account void   ) 
 

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

Definition at line 15 of file kmacctfolder.cpp.

KMAccount * KMAcctFolder::nextAccount void   ) 
 

Returns next account or 0 if at the end of the list.

Definition at line 23 of file kmacctfolder.cpp.

void KMAcctFolder::addAccount KMAccount *   ) 
 

Add given account to the list.

Definition at line 31 of file kmacctfolder.cpp.

void KMAcctFolder::removeAccount KMAccount *   ) 
 

Remove given account from the list.

Definition at line 49 of file kmacctfolder.cpp.

References KMFolder::count().

void KMAcctFolder::clearAccountList void   ) 
 

Clear list of accounts.

Definition at line 42 of file kmacctfolder.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu May 3 20:23:41 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003