• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kmail

  • sources
  • kde-4.14
  • kdepim
  • kmail
kcm_kmail.cpp
Go to the documentation of this file.
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.
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 "configuredialog/configuredialog.h"
25 #include "configuredialog/configuredialog_p.h"
26 #include "configuredialog/configuremiscpage.h"
27 #include "configuredialog/configuresecuritypage.h"
28 #include "configuredialog/configurecomposerpage.h"
29 #include "configuredialog/configureappearancepage.h"
30 #include "configuredialog/configureaccountpage.h"
31 #include "identity/identitypage.h"
32 #include <kcmodule.h>
33 #include <kcomponentdata.h>
34 
35 //----------------------------
36 // KCM stuff
37 //----------------------------
38 extern "C"
39 {
40 KDE_EXPORT KCModule *create_kmail_config_misc( QWidget *parent, const char* )
41 {
42  KComponentData instance( "kcmkmail_config_misc" );
43  MiscPage *page = new MiscPage( instance, parent );
44  page->setObjectName( QLatin1String("kcmkmail_config_misc") );
45  return page;
46 }
47 }
48 
49 extern "C"
50 {
51 KDE_EXPORT KCModule *create_kmail_config_appearance( QWidget *parent, const char* )
52 {
53  KComponentData instance( "kcmkmail_config_appearance" );
54  AppearancePage *page =
55  new AppearancePage( instance, parent );
56  page->setObjectName( QLatin1String("kcmkmail_config_appearance") );
57  return page;
58 }
59 }
60 
61 extern "C"
62 {
63 KDE_EXPORT KCModule *create_kmail_config_composer( QWidget *parent, const char* )
64 {
65  KComponentData instance( "kcmkmail_config_composer" );
66  ComposerPage *page = new ComposerPage( instance, parent );
67  page->setObjectName( QLatin1String("kcmkmail_config_composer") );
68  return page;
69 }
70 }
71 
72 extern "C"
73 {
74 KDE_EXPORT KCModule *create_kmail_config_identity( QWidget *parent, const char* )
75 {
76  KComponentData instance( "kcmkmail_config_identity" );
77  KMail::IdentityPage *page = new KMail::IdentityPage( instance, parent );
78  page->setObjectName( QLatin1String("kcmkmail_config_identity") );
79  return page;
80 }
81 }
82 
83 extern "C"
84 {
85 KDE_EXPORT KCModule *create_kmail_config_accounts( QWidget *parent, const char* )
86 {
87  KComponentData instance( "kcmkmail_config_accounts" );
88  AccountsPage *page = new AccountsPage( instance, parent );
89  page->setObjectName( QLatin1String("kcmkmail_config_accounts") );
90  return page;
91 }
92 }
93 
94 extern "C"
95 {
96 KDE_EXPORT KCModule *create_kmail_config_security( QWidget *parent, const char* )
97 {
98  KComponentData instance( "kcmkmail_config_security" );
99  SecurityPage *page = new SecurityPage( instance, parent );
100  page->setObjectName( QLatin1String("kcmkmail_config_security") );
101  return page;
102 }
103 }
QWidget
configuresecuritypage.h
create_kmail_config_misc
KCModule * create_kmail_config_misc(QWidget *parent, const char *)
Definition: kcm_kmail.cpp:40
create_kmail_config_composer
KCModule * create_kmail_config_composer(QWidget *parent, const char *)
Definition: kcm_kmail.cpp:63
AccountsPage
Definition: configureaccountpage.h:93
identitypage.h
AppearancePage
Definition: configureappearancepage.h:291
configuredialog.h
create_kmail_config_appearance
KCModule * create_kmail_config_appearance(QWidget *parent, const char *)
Definition: kcm_kmail.cpp:51
configuredialog_p.h
create_kmail_config_security
KCModule * create_kmail_config_security(QWidget *parent, const char *)
Definition: kcm_kmail.cpp:96
create_kmail_config_accounts
KCModule * create_kmail_config_accounts(QWidget *parent, const char *)
Definition: kcm_kmail.cpp:85
configureaccountpage.h
SecurityPage
Definition: configuresecuritypage.h:162
create_kmail_config_identity
KCModule * create_kmail_config_identity(QWidget *parent, const char *)
Definition: kcm_kmail.cpp:74
QLatin1String
configureappearancepage.h
KMail::IdentityPage
Definition: identitypage.h:41
configurecomposerpage.h
configuremiscpage.h
MiscPage
Definition: configuremiscpage.h:109
ComposerPage
Definition: configurecomposerpage.h:265
KCModule
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal