kmail

configuredialog.h
1/*
2 * kmail: KDE mail client
3 * This file: Copyright (C) 2000 Espen Sand, espen@kde.org
4 * Copyright (C) 2001-2002 Marc Mutz <mutz@kde.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 *
20 */
21
22#ifndef _CONFIGURE_DIALOG_H_
23#define _CONFIGURE_DIALOG_H_
24
25#include <tqguardedptr.h>
26#include <kcmultidialog.h>
27
28class TDEConfig;
29class ProfileDialog;
30namespace KMail {
31 class ImapAccountBase;
32}
33
34class ConfigureDialog : public KCMultiDialog
35{
36 TQ_OBJECT
37
38
39public:
40 ConfigureDialog( TQWidget *parent=0, const char *name=0, bool modal=true );
41 ~ConfigureDialog();
42
43signals:
51 void installProfile( TDEConfig *profile );
52 void configChanged();
53protected:
54 void hideEvent( TQHideEvent *i );
55protected slots:
59 void slotApply();
60
64 void slotOk();
65
69 void slotUser2();
70
71private:
72 TQGuardedPtr<ProfileDialog> mProfileDialog;
73};
74
80class AccountUpdater : public TQObject {
81 TQ_OBJECT
82
83 public:
84 AccountUpdater(KMail::ImapAccountBase *account);
85 void update();
86 public slots:
87 void namespacesFetched();
88 private:
89 KMail::ImapAccountBase *mAccount;
90};
91
92
93#endif
DImap accounts need to be updated after just being created to show the folders it has.
folderdiaquotatab.h
Definition: aboutdata.cpp:40