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