diff options
Diffstat (limited to 'lilo-config/qt/InputBox.h')
-rw-r--r-- | lilo-config/qt/InputBox.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lilo-config/qt/InputBox.h b/lilo-config/qt/InputBox.h index da2371b..f4be6e9 100644 --- a/lilo-config/qt/InputBox.h +++ b/lilo-config/qt/InputBox.h @@ -27,23 +27,23 @@ #ifndef _INPUTBOX_H_ #define _INPUTBOX_H_ 1 -#include <qdialog.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qpushbutton.h> +#include <tqdialog.h> +#include <tqlabel.h> +#include <tqlineedit.h> +#include <tqpushbutton.h> #include "EditWidget.h" #include <list> class InputBox:public QDialog { Q_OBJECT public: - typedef struct { QString label; QString dflt; bool isFile; QString help; } entry; + typedef struct { TQString label; TQString dflt; bool isFile; TQString help; } entry; typedef std::list<entry> entries; - InputBox(entries e, QWidget *parent=0, const char *name=0, bool hasCancel=true, WFlags f=0); - QStringList const text() const { QStringList s; for(std::list<EditWidget*>::const_iterator it=edit.begin(); it!=edit.end(); it++) s << (*it)->text(); return s; }; + InputBox(entries e, TQWidget *parent=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; - QPushButton *ok; - QPushButton *cancel; + TQPushButton *ok; + TQPushButton *cancel; }; #endif |