kaddressbook
distributionlistpicker.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_DISTRIBUTIONLISTPICKER_H
00024 #define KPIM_DISTRIBUTIONLISTPICKER_H
00025
00026 #include <kdialog.h>
00027
00028 #include <QtCore/QString>
00029
00030 class QLabel;
00031 class QListWidget;
00032
00033 namespace KABC {
00034 class AddressBook;
00035 }
00036
00037 namespace KPIM {
00038
00039 class DistributionListPickerDialog : public KDialog
00040 {
00041 Q_OBJECT
00042 public:
00043 explicit DistributionListPickerDialog( KABC::AddressBook* book, QWidget* parent = 0 );
00044 QString selectedDistributionList() const;
00045
00046 void setLabelText( const QString& text );
00047
00048 private Q_SLOTS:
00049
00050
00051 void slotOk();
00052
00053
00054 void slotCancel();
00055
00056
00057 void slotUser1();
00058
00059 void entrySelected( const QString& name );
00060
00061 private:
00062 KABC::AddressBook* m_book;
00063 QLabel* m_label;
00064 QListWidget* m_listWidget;
00065 QString m_selectedDistributionList;
00066 };
00067
00068 }
00069
00070 #endif // KPIM_DISTRIBUTIONLISTPICKER_H