From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: TQt4 port kvirc This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/objects/class_wizard.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/objects/class_wizard.h') diff --git a/src/modules/objects/class_wizard.h b/src/modules/objects/class_wizard.h index 0c605efe..ddc8a839 100644 --- a/src/modules/objects/class_wizard.h +++ b/src/modules/objects/class_wizard.h @@ -33,7 +33,7 @@ class KviKvsObject_wizard : public KviKvsObject_widget public: KVSO_DECLARE_OBJECT(KviKvsObject_wizard) public: - QWidget * widget() { return (QWidget *)object(); }; + TQWidget * widget() { return (TQWidget *)object(); }; bool accept(); bool reject(); void nextClicked(); @@ -65,8 +65,9 @@ class KviKvsMdmWizard : public KviTalWizard { Q_OBJECT + TQ_OBJECT public: - KviKvsMdmWizard(QWidget * par,const char * name,KviKvsObject_wizard *); + KviKvsMdmWizard(TQWidget * par,const char * name,KviKvsObject_wizard *); void accept(); void reject(); virtual ~KviKvsMdmWizard(); -- cgit v1.2.1