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

akonadi/contact

  • sources
  • kde-4.14
  • kdepimlibs
  • akonadi
  • contact
  • editor
  • im
imeditordialog.h
1 /*
2 IM address editor widget for KDE PIM
3 
4 Copyright 2004,2010 Will Stephenson <wstephenson@kde.org>
5 
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) version 3, or any
10 later version accepted by the membership of KDE e.V. (or its
11 successor approved by the membership of KDE e.V.), which shall
12 act as a proxy defined in Section 6 of version 3 of the license.
13 
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public
20 License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
23 #ifndef AKONADI_CONTACT_IMEDITORDIALOG_H
24 #define AKONADI_CONTACT_IMEDITORDIALOG_H
25 
26 #include <kdialog.h>
27 
28 #include "immodel.h"
29 
30 class QPushButton;
31 class QTreeView;
32 
33 class IMEditorDialog : public KDialog
34 {
35  Q_OBJECT
36 
37 public:
38  explicit IMEditorDialog(QWidget *parent);
39  ~IMEditorDialog();
40 
41  void setAddresses(const IMAddress::List &addresses);
42  IMAddress::List addresses() const;
43 
44 private Q_SLOTS:
45  void slotAdd();
46  void slotEdit();
47  void slotRemove();
48  void slotSetStandard();
49  void slotUpdateButtons();
50 
51 private:
52  void readConfig();
53  void writeConfig();
54  QTreeView *mView;
55  QPushButton *mAddButton;
56  QPushButton *mEditButton;
57  QPushButton *mRemoveButton;
58  QPushButton *mStandardButton;
59 
60  IMModel *mModel;
61 };
62 
63 #endif
QWidget
QVector< IMAddress >
QTreeView
QPushButton
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

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