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