kmail

kmacctfolder.h
1/*
2 * kmail: KDE mail client
3 * Copyright (c) 1996-1998 Stefan Taferner <taferner@kde.org>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 *
19 */
20#ifndef kmacctfolder_h
21#define kmacctfolder_h
22
23#include "kmfolder.h"
24
25class KMAccount;
26
35{
36public:
39 KMAccount* account();
40
42 void addAccount( KMAccount* );
43
45 void removeAccount( KMAccount* );
46
48 void clearAccountList();
49
50private:
51 KMAcctFolder( KMFolderDir* parent, const TQString& name,
52 KMFolderType aFolderType );
53};
54
55#endif /*kmacctfolder_h*/
Simple wrapper class that contains the kmail account handling stuff that is usually not required outs...
Definition: kmacctfolder.h:35
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.
KMail list that manages the contents of one directory that may contain folders and/or other directori...
Definition: kmfolderdir.h:16
Mail folder.
Definition: kmfolder.h:69