7 #include "kmacctfolder.h"
13 return acctList()->first();
22 setAcctList( new AccountList() );
24 acctList()->append( aAcct );
25 aAcct->setFolder( this );
38 if ( !aAcct || !acctList() ) return;
40 acctList()->remove( aAcct );
41 aAcct->setFolder( 0 );
42 if ( acctList()-> count() <= 0 ) {
void addAccount(KMAccount *) Add given account to the list.
void removeAccount(KMAccount *) Remove given account from the list.
KMAccount * account() Returns first account or 0 if no account is associated with this folder.
void clearAccountList() Clear list of accounts.
int count(bool cache=false) const Number of messages in this folder.
|