doc fixes found while translating
[kdepim.git] / kmail / kcm_kmail.cpp
blob082ce7b1a3a61c43b135f6c2472cb013f1b3253d
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2 * kmail: KDE mail client
3 * 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.
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.
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.
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.
23 // This must be first
24 #include "configuredialog.h"
25 #include "configuredialog_p.h"
26 #include "identitypage.h"
27 #include <kcmodule.h>
28 #include <kcomponentdata.h>
30 //----------------------------
31 // KCM stuff
32 //----------------------------
33 extern "C"
35 KDE_EXPORT KCModule *create_kmail_config_misc( QWidget *parent, const char* )
37 KComponentData instance( "kcmkmail_config_misc" );
38 MiscPage *page = new MiscPage( instance, parent );
39 page->setObjectName( "kcmkmail_config_misc" );
40 return page;
44 extern "C"
46 KDE_EXPORT KCModule *create_kmail_config_appearance( QWidget *parent, const char* )
48 KComponentData instance( "kcmkmail_config_appearance" );
49 AppearancePage *page =
50 new AppearancePage( instance, parent );
51 page->setObjectName( "kcmkmail_config_appearance" );
52 return page;
56 extern "C"
58 KDE_EXPORT KCModule *create_kmail_config_composer( QWidget *parent, const char* )
60 KComponentData instance( "kcmkmail_config_composer" );
61 ComposerPage *page = new ComposerPage( instance, parent );
62 page->setObjectName( "kcmkmail_config_composer" );
63 return page;
67 extern "C"
69 KDE_EXPORT KCModule *create_kmail_config_identity( QWidget *parent, const char* )
71 KComponentData instance( "kcmkmail_config_identity" );
72 KMail::IdentityPage *page = new KMail::IdentityPage( instance, parent );
73 page->setObjectName( "kcmkmail_config_identity" );
74 return page;
78 extern "C"
80 KDE_EXPORT KCModule *create_kmail_config_accounts( QWidget *parent, const char* )
82 KComponentData instance( "kcmkmail_config_accounts" );
83 AccountsPage *page = new AccountsPage( instance, parent );
84 page->setObjectName( "kcmkmail_config_accounts" );
85 return page;
89 extern "C"
91 KDE_EXPORT KCModule *create_kmail_config_security( QWidget *parent, const char* )
93 KComponentData instance( "kcmkmail_config_security" );
94 SecurityPage *page = new SecurityPage( instance, parent );
95 page->setObjectName( "kcmkmail_config_security" );
96 return page;