kmail
klistboxdialog.h00001 #ifndef KLISTBOXDIALOG_H
00002 #define KLISTBOXDIALOG_H
00003
00004 #include <kdialogbase.h>
00005
00006 class TQLabel;
00007 class TQListBox;
00008
00009 class KListBoxDialog : public KDialogBase
00010 {
00011 Q_OBJECT
00012
00013 public:
00014 KListBoxDialog( TQString& _selectedString,
00015 const TQString& caption,
00016 const TQString& labelText,
00017 TQWidget* parent = 0,
00018 const char* name = 0,
00019 bool modal = true );
00020 ~KListBoxDialog();
00021
00022 void setLabelAbove( const TQString& label );
00023 void setCommentBelow(const TQString& comment);
00024
00025 TQListBox* entriesLB;
00026
00027 private slots:
00028 void highlighted( const TQString& );
00029
00030 protected:
00031 TQString& selectedString;
00032 TQLabel* labelAboveLA;
00033 TQLabel* commentBelowLA;
00034 };
00035
00036 #endif
|