kaddressbook
distributionlistpicker.h00001
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 <kdialogbase.h>
00027
00028 #include <tqstring.h>
00029
00030 class KListBox;
00031
00032 namespace KABC {
00033 class AddressBook;
00034 }
00035
00036 namespace KPIM {
00037
00038 class DistributionListPickerDialog : public KDialogBase
00039 {
00040 Q_OBJECT
00041 public:
00042 explicit DistributionListPickerDialog( KABC::AddressBook* book, TQWidget* parent = 0 );
00043 TQString selectedDistributionList() const;
00044
00045 void setLabelText( const TQString& text );
00046
00047 private slots:
00048
00049
00050 void slotOk();
00051
00052
00053 void slotCancel();
00054
00055
00056 void slotUser1();
00057
00058 void entrySelected( const TQString& name );
00059
00060 private:
00061 KABC::AddressBook* m_book;
00062 TQLabel* m_label;
00063 KListBox* m_listBox;
00064 TQString m_selectedDistributionList;
00065 };
00066
00067 }
00068
00069 #endif // KPIM_DISTRIBUTIONLISTPICKER_H
|