• 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
newidentitydialog.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 NEWIDENTITYDIALOG_H
25 #define NEWIDENTITYDIALOG_H
26 
27 #include <KDialog>
28 
29 class KComboBox;
30 class KLineEdit;
31 class QButtonGroup;
32 
33 namespace KPIMIdentities {
34 class IdentityManager;
35 }
36 
37 namespace KMail {
38 
39 class NewIdentityDialog : public KDialog
40 {
41  Q_OBJECT
42 
43 public:
44  enum DuplicateMode { Empty, ControlCenter, ExistingEntry };
45 
46  explicit NewIdentityDialog( KPIMIdentities::IdentityManager *manager, QWidget *parent = 0 );
47 
48  QString identityName() const;
49  QString duplicateIdentity() const;
50  DuplicateMode duplicateMode() const;
51 
52 protected slots:
53  void slotEnableOK( const QString & );
54 
55 private:
56  KLineEdit *mLineEdit;
57  KComboBox *mComboBox;
58  QButtonGroup *mButtonGroup;
59  KPIMIdentities::IdentityManager *mIdentityManager;
60 };
61 
62 }
63 
64 #endif
KMail::NewIdentityDialog::identityName
QString identityName() const
Definition: newidentitydialog.cpp:140
KMail::NewIdentityDialog::Empty
Definition: newidentitydialog.h:44
QWidget
KDialog
KMail::NewIdentityDialog::ExistingEntry
Definition: newidentitydialog.h:44
KMail::NewIdentityDialog
Definition: newidentitydialog.h:39
KMail::NewIdentityDialog::ControlCenter
Definition: newidentitydialog.h:44
KLineEdit
KMail::NewIdentityDialog::duplicateIdentity
QString duplicateIdentity() const
Definition: newidentitydialog.cpp:145
KComboBox
KMail::NewIdentityDialog::NewIdentityDialog
NewIdentityDialog(KPIMIdentities::IdentityManager *manager, QWidget *parent=0)
Definition: newidentitydialog.cpp:43
KMail::NewIdentityDialog::slotEnableOK
void slotEnableOK(const QString &)
Definition: newidentitydialog.cpp:123
KMail::NewIdentityDialog::duplicateMode
DuplicateMode duplicateMode() const
Definition: newidentitydialog.cpp:114
KMail::NewIdentityDialog::DuplicateMode
DuplicateMode
Definition: newidentitydialog.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 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