kmail

tdelistboxdialog.h
1 #ifndef TDELISTBOXDIALOG_H
2 #define TDELISTBOXDIALOG_H
3 
4 #include <kdialogbase.h>
5 
6 class TQLabel;
7 class TQListBox;
8 
9 class TDEListBoxDialog : public KDialogBase
10 {
11  TQ_OBJECT
12 
13 
14 public:
15  TDEListBoxDialog( TQString& _selectedString,
16  const TQString& caption,
17  const TQString& labelText,
18  TQWidget* parent = 0,
19  const char* name = 0,
20  bool modal = true );
21  ~TDEListBoxDialog();
22 
23  void setLabelAbove( const TQString& label );
24  void setCommentBelow(const TQString& comment);
25 
26  TQListBox* entriesLB;
27 
28 private slots:
29  void highlighted( const TQString& );
30 
31 protected:
32  TQString& selectedString;
33  TQLabel* labelAboveLA;
34  TQLabel* commentBelowLA;
35 };
36 
37 #endif