kaddressbook
distributionlisteditor.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef KPIM_DISTRIBUTIONLISTEDITOR_H
00024 #define KPIM_DISTRIBUTIONLISTEDITOR_H
00025
00026 #include <KDialog>
00027
00028 namespace KABC {
00029 class AddressBook;
00030 }
00031
00032 namespace KPIM {
00033
00034 class DistributionList;
00035
00036 namespace DistributionListEditor {
00037
00038 class EditorWidgetPrivate;
00039 class EditorWidget : public KDialog
00040 {
00041 Q_OBJECT
00042 public:
00043 explicit EditorWidget( KABC::AddressBook* book, QWidget* parent = 0 );
00044 ~EditorWidget();
00045
00046 void setDistributionList( const KPIM::DistributionList& list );
00047 KPIM::DistributionList distributionList() const;
00048
00049 void saveList();
00050
00051 private Q_SLOTS:
00052
00053 void slotButtonClicked( int button );
00054 void lineTextChanged( int id );
00055
00056 private:
00057 EditorWidgetPrivate* const d;
00058 };
00059
00060 }
00061 }
00062
00063 #endif // KPIM_DISTRIBUTIONLISTEDITOR_H