kabc
distributionlistdialog.h
00001 /* 00002 This file is part of libkabc. 00003 Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to 00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #ifndef KABC_DISTRIBUTIONLISTDIALOG_H 00022 #define KABC_DISTRIBUTIONLISTDIALOG_H 00023 00024 #include <QtGui/QWidget> 00025 00026 #include <kdialog.h> 00027 #include "kabc_export.h" 00028 00029 namespace KABC { 00030 00031 class AddressBook; 00032 class DistributionListEditorWidget; 00033 00051 class KABC_EXPORT_DEPRECATED DistributionListDialog : public KDialog 00052 { 00053 Q_OBJECT 00054 00055 public: 00062 explicit DistributionListDialog( AddressBook *ab, QWidget *parent = 0 ); 00063 00067 virtual ~DistributionListDialog(); 00068 00069 private: 00070 class Private; 00071 Private *const d; 00072 }; 00073 00077 class KABC_EXPORT_DEPRECATED EmailSelector : public KDialog 00078 { 00079 public: 00089 EmailSelector( const QStringList &emails, const QString ¤t, QWidget *parent = 0 ); 00090 00094 ~EmailSelector(); 00095 00099 QString selected() const; 00100 00113 static QString getEmail( const QStringList &emails, const QString ¤t, 00114 QWidget *parent = 0 ); 00115 00116 private: 00117 class Private; 00118 Private *const d; 00119 }; 00120 00124 class KABC_EXPORT DistributionListEditorWidget : public QWidget 00125 { 00126 Q_OBJECT 00127 00128 public: 00135 explicit DistributionListEditorWidget( AddressBook *addressBook, QWidget *parent = 0 ); 00136 00140 virtual ~DistributionListEditorWidget(); 00141 00142 private: 00143 class Private; 00144 Private *const d; 00145 00146 Q_PRIVATE_SLOT( d, void newList() ) 00147 Q_PRIVATE_SLOT( d, void editList() ) 00148 Q_PRIVATE_SLOT( d, void removeList() ) 00149 Q_PRIVATE_SLOT( d, void addEntry() ) 00150 Q_PRIVATE_SLOT( d, void removeEntry() ) 00151 Q_PRIVATE_SLOT( d, void changeEmail() ) 00152 Q_PRIVATE_SLOT( d, void updateEntryView() ) 00153 Q_PRIVATE_SLOT( d, void updateAddresseeView() ) 00154 Q_PRIVATE_SLOT( d, void updateNameCombo() ) 00155 Q_PRIVATE_SLOT( d, void slotSelectionEntryViewChanged() ) 00156 Q_PRIVATE_SLOT( d, void slotSelectionAddresseeViewChanged() ) 00157 Q_PRIVATE_SLOT( d, void save() ) 00158 }; 00159 00160 } 00161 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:10:23 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:10:23 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.