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

kmail

  • sources
  • kde-4.12
  • kdepim
  • kmail
  • identity
identitypage.h
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  * Copyright (C) 2010 Volker Krause <vkrause@kde.org>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  */
23 
24 #ifndef IDENTITYPAGE_H
25 #define IDENTITYPAGE_H
26 
27 #include "kmail_export.h"
28 
29 #include "configuredialog/configmodule.h"
30 #include "ui_identitypage.h"
31 
32 namespace KPIMIdentities {
33 class IdentityManager;
34 }
35 
36 namespace KMail {
37 class IdentityDialog;
38 class IdentityListView;
39 class IdentityListViewItem;
40 
41 class KMAIL_EXPORT IdentityPage : public ConfigModule {
42  Q_OBJECT
43 public:
44  explicit IdentityPage( const KComponentData &instance, QWidget *parent = 0 );
45  ~IdentityPage();
46 
47  QString helpAnchor() const;
48 
49  void load();
50  void save();
51 
52 private slots:
53  void slotNewIdentity();
54  void slotModifyIdentity();
55  void slotRemoveIdentity();
58  void slotRenameIdentity();
61  void slotRenameIdentity( KMail::IdentityListViewItem *, const QString & );
62  void slotContextMenu( KMail::IdentityListViewItem *, const QPoint & );
63  void slotSetAsDefault();
64  void slotIdentitySelectionChanged();
65 
66 private: // methods
67  void refreshList();
68  void updateButtons();
69 
70 private: // data members
71  Ui_IdentityPage mIPage;
72  KMail::IdentityDialog *mIdentityDialog;
73  int mOldNumberOfIdentities;
74  KPIMIdentities::IdentityManager *mIdentityManager;
75 };
76 
77 }
78 
79 #endif
kmail_export.h
ConfigModule
Definition: configmodule.h:31
QWidget
KMail::IdentityListViewItem
A QWidgetTreeItem for use in IdentityListView.
Definition: identitylistview.h:51
KMAIL_EXPORT
#define KMAIL_EXPORT
Definition: kmail_export.h:35
KMail::IdentityPage
Definition: identitypage.h:41
configmodule.h
KMail::IdentityDialog
Definition: identitydialog.h:83
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:51 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

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