diff options
Diffstat (limited to 'lilo-config/qt/InputBox.h')
-rw-r--r-- | lilo-config/qt/InputBox.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lilo-config/qt/InputBox.h b/lilo-config/qt/InputBox.h index f4be6e9..1a624c8 100644 --- a/lilo-config/qt/InputBox.h +++ b/lilo-config/qt/InputBox.h @@ -33,13 +33,14 @@ #include <tqpushbutton.h> #include "EditWidget.h" #include <list> -class InputBox:public QDialog +class InputBox:public TQDialog { Q_OBJECT + TQ_OBJECT public: typedef struct { TQString label; TQString dflt; bool isFile; TQString help; } entry; typedef std::list<entry> entries; - InputBox(entries e, TQWidget *parent=0, const char *name=0, bool hasCancel=true, WFlags f=0); + InputBox(entries e, TQWidget *tqparent=0, const char *name=0, bool hasCancel=true, WFlags f=0); TQStringList const text() const { TQStringList s; for(std::list<EditWidget*>::const_iterator it=edit.begin(); it!=edit.end(); it++) s << (*it)->text(); return s; }; private: std::list<EditWidget*> edit; |