kmail

kcm_kmail.cpp

Go to the documentation of this file.
00001 /*   -*- mode: C++; c-file-style: "gnu" -*-
00002  *   kmail: KDE mail client
00003  *   This file: Copyright (C) 2000 Espen Sand, espen@kde.org
00004  *              Copyright (C) 2001-2003 Marc Mutz, mutz@kde.org
00005  *   Contains code segments and ideas from earlier kmail dialog code.
00006  *
00007  *   This program is free software; you can redistribute it and/or modify
00008  *   it under the terms of the GNU General Public License as published by
00009  *   the Free Software Foundation; either version 2 of the License, or
00010  *   (at your option) any later version.
00011  *
00012  *   This program is distributed in the hope that it will be useful,
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *   GNU General Public License for more details.
00016  *
00017  *   You should have received a copy of the GNU General Public License
00018  *   along with this program; if not, write to the Free Software
00019  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00020  *
00021  */
00022 
00023 // This must be first
00024 #include <config.h>
00025 #include "configuredialog.h"
00026 #include "configuredialog_p.h"
00027 #include <kcmodule.h>
00028 
00029 //----------------------------
00030 // KCM stuff
00031 //----------------------------
00032 extern "C"
00033 {
00034   KDE_EXPORT KCModule *create_kmail_config_misc( QWidget *parent, const char * )
00035   {
00036     MiscPage *page = new MiscPage( parent, "kcmkmail_config_misc" );
00037     return page;
00038   }
00039 }
00040 
00041 extern "C"
00042 {
00043   KDE_EXPORT KCModule *create_kmail_config_appearance( QWidget *parent, const char * )
00044   {
00045     AppearancePage *page =
00046        new AppearancePage( parent, "kcmkmail_config_appearance" );
00047     return page;
00048   }
00049 }
00050 
00051 extern "C"
00052 {
00053   KDE_EXPORT KCModule *create_kmail_config_composer( QWidget *parent, const char * )
00054   {
00055     ComposerPage *page = new ComposerPage( parent, "kcmkmail_config_composer" );
00056     return page;
00057   }
00058 }
00059 
00060 extern "C"
00061 {
00062   KDE_EXPORT KCModule *create_kmail_config_identity( QWidget *parent, const char * )
00063   {
00064     IdentityPage *page = new IdentityPage( parent, "kcmkmail_config_identity" );
00065     return page;
00066   }
00067 }
00068 
00069 extern "C"
00070 {
00071   KDE_EXPORT KCModule *create_kmail_config_accounts( QWidget *parent, const char * )
00072   {
00073     AccountsPage *page = new AccountsPage( parent, "kcmkmail_config_accounts" );
00074     return page;
00075   }
00076 }
00077 
00078 extern "C"
00079 {
00080   KDE_EXPORT KCModule *create_kmail_config_security( QWidget *parent, const char * )
00081   {
00082     SecurityPage *page = new SecurityPage( parent, "kcmkmail_config_security" );
00083     return page;
00084   }
00085 }