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:

KMFolder List of all members.

Public Methods

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 14 of file kmacctfolder.cpp.

References QPtrList< KMAccount >::first().

KMAccount * KMAcctFolder::nextAccount void   
 

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

Definition at line 22 of file kmacctfolder.cpp.

References QPtrList< KMAccount >::next().

void KMAcctFolder::addAccount KMAccount *   
 

Add given account to the list.

Definition at line 30 of file kmacctfolder.cpp.

References QPtrList< KMAccount >::append().

void KMAcctFolder::removeAccount KMAccount *   
 

Remove given account from the list.

Definition at line 48 of file kmacctfolder.cpp.

References QPtrList< KMAccount >::count(), and QPtrList< KMAccount >::remove().

void KMAcctFolder::clearAccountList void   
 

Clear list of accounts.

Definition at line 41 of file kmacctfolder.cpp.

References QPtrList< KMAccount >::clear().


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:36 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003