summaryrefslogtreecommitdiffstats
path: root/kmail/tdelistboxdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/tdelistboxdialog.h')
-rw-r--r--kmail/tdelistboxdialog.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/kmail/tdelistboxdialog.h b/kmail/tdelistboxdialog.h
new file mode 100644
index 000000000..30a672860
--- /dev/null
+++ b/kmail/tdelistboxdialog.h
@@ -0,0 +1,37 @@
+#ifndef KLISTBOXDIALOG_H
+#define KLISTBOXDIALOG_H
+
+#include <kdialogbase.h>
+
+class TQLabel;
+class TQListBox;
+
+class TDEListBoxDialog : public KDialogBase
+{
+ Q_OBJECT
+
+
+public:
+ TDEListBoxDialog( TQString& _selectedString,
+ const TQString& caption,
+ const TQString& labelText,
+ TQWidget* parent = 0,
+ const char* name = 0,
+ bool modal = true );
+ ~TDEListBoxDialog();
+
+ void setLabelAbove( const TQString& label );
+ void setCommentBelow(const TQString& comment);
+
+ TQListBox* entriesLB;
+
+private slots:
+ void highlighted( const TQString& );
+
+protected:
+ TQString& selectedString;
+ TQLabel* labelAboveLA;
+ TQLabel* commentBelowLA;
+};
+
+#endif