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

kabc

  • sources
  • kde-4.12
  • kdepimlibs
  • kabc
distributionlistdialog.h
1 /*
2  This file is part of libkabc.
3  Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KABC_DISTRIBUTIONLISTDIALOG_H
22 #define KABC_DISTRIBUTIONLISTDIALOG_H
23 
24 #include <QWidget>
25 
26 #include <kdialog.h>
27 #include "kabc_export.h"
28 
29 namespace KABC {
30 
31 class AddressBook;
32 class DistributionListEditorWidget;
33 
51 class KABC_DEPRECATED_EXPORT DistributionListDialog : public KDialog
52 {
53  Q_OBJECT
54 
55  public:
62  explicit DistributionListDialog( AddressBook *ab, QWidget *parent = 0 );
63 
67  virtual ~DistributionListDialog();
68 
69  private:
70  class Private;
71  Private *const d;
72 };
73 
77 class KABC_DEPRECATED_EXPORT EmailSelector : public KDialog
78 {
79  public:
89  EmailSelector( const QStringList &emails, const QString &current, QWidget *parent = 0 );
90 
94  ~EmailSelector();
95 
99  QString selected() const;
100 
113  static QString getEmail( const QStringList &emails, const QString &current,
114  QWidget *parent = 0 );
115 
116  private:
117  class Private;
118  Private *const d;
119 };
120 
124 class KABC_EXPORT DistributionListEditorWidget : public QWidget
125 {
126  Q_OBJECT
127 
128  public:
135  explicit DistributionListEditorWidget( AddressBook *addressBook, QWidget *parent = 0 );
136 
140  virtual ~DistributionListEditorWidget();
141 
142  private:
143  class Private;
144  Private *const d;
145 
146  Q_PRIVATE_SLOT( d, void newList() )
147  Q_PRIVATE_SLOT( d, void editList() )
148  Q_PRIVATE_SLOT( d, void removeList() )
149  Q_PRIVATE_SLOT( d, void addEntry() )
150  Q_PRIVATE_SLOT( d, void removeEntry() )
151  Q_PRIVATE_SLOT( d, void changeEmail() )
152  Q_PRIVATE_SLOT( d, void updateEntryView() )
153  Q_PRIVATE_SLOT( d, void updateAddresseeView() )
154  Q_PRIVATE_SLOT( d, void updateNameCombo() )
155  Q_PRIVATE_SLOT( d, void slotSelectionEntryViewChanged() )
156  Q_PRIVATE_SLOT( d, void slotSelectionAddresseeViewChanged() )
157  Q_PRIVATE_SLOT( d, void save() )
158 };
159 
160 }
161 #endif
KABC::DistributionListDialog
Frontend to create distribution lists.
Definition: distributionlistdialog.h:51
KABC::EmailSelector
Helper class.
Definition: distributionlistdialog.h:77
KABC::DistributionListEditorWidget
Helper class.
Definition: distributionlistdialog.h:124
KABC::AddressBook
Address Book.
Definition: addressbook.h:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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