kmail

kcm_kmail.cpp
1 /*
2  * kmail: KDE mail client
3  * This file: Copyright (C) 2000 Espen Sand, espen@kde.org
4  * Copyright (C) 2001-2003 Marc Mutz, mutz@kde.org
5  * Contains code segments and ideas from earlier kmail dialog code.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  *
21  */
22 
23 // This must be first
24 #include <config.h>
25 #include "configuredialog.h"
26 #include "configuredialog_p.h"
27 #include <tdecmodule.h>
28 
29 //----------------------------
30 // KCM stuff
31 //----------------------------
32 extern "C"
33 {
34  TDE_EXPORT TDECModule *create_kmail_config_misc( TQWidget *parent, const char * )
35  {
36  MiscPage *page = new MiscPage( parent, "kcmkmail_config_misc" );
37  return page;
38  }
39 }
40 
41 extern "C"
42 {
43  TDE_EXPORT TDECModule *create_kmail_config_appearance( TQWidget *parent, const char * )
44  {
45  AppearancePage *page =
46  new AppearancePage( parent, "kcmkmail_config_appearance" );
47  return page;
48  }
49 }
50 
51 extern "C"
52 {
53  TDE_EXPORT TDECModule *create_kmail_config_composer( TQWidget *parent, const char * )
54  {
55  ComposerPage *page = new ComposerPage( parent, "kcmkmail_config_composer" );
56  return page;
57  }
58 }
59 
60 extern "C"
61 {
62  TDE_EXPORT TDECModule *create_kmail_config_identity( TQWidget *parent, const char * )
63  {
64  IdentityPage *page = new IdentityPage( parent, "kcmkmail_config_identity" );
65  return page;
66  }
67 }
68 
69 extern "C"
70 {
71  TDE_EXPORT TDECModule *create_kmail_config_accounts( TQWidget *parent, const char * )
72  {
73  AccountsPage *page = new AccountsPage( parent, "kcmkmail_config_accounts" );
74  return page;
75  }
76 }
77 
78 extern "C"
79 {
80  TDE_EXPORT TDECModule *create_kmail_config_security( TQWidget *parent, const char * )
81  {
82  SecurityPage *page = new SecurityPage( parent, "kcmkmail_config_security" );
83  return page;
84  }
85 }