From b09bffed6b43262948018dfb0f11890850ddf7c1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 20:34:22 +0000 Subject: TQt4 port kdeadmin This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lilo-config/qt/InputBox.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lilo-config/qt/InputBox.h') 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 #include "EditWidget.h" #include -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 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::const_iterator it=edit.begin(); it!=edit.end(); it++) s << (*it)->text(); return s; }; private: std::list edit; -- cgit v1.2.1