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_wrapper.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/modules/objects/class_wrapper.h') diff --git a/src/modules/objects/class_wrapper.h b/src/modules/objects/class_wrapper.h index 900b0672..62bb651d 100644 --- a/src/modules/objects/class_wrapper.h +++ b/src/modules/objects/class_wrapper.h @@ -27,7 +27,7 @@ #include "class_widget.h" -#include "qlistview.h" +#include "tqlistview.h" @@ -37,14 +37,15 @@ class KviKvsObject_wrapper : public KviKvsObject_widget { Q_OBJECT + TQ_OBJECT public: KVSO_DECLARE_OBJECT(KviKvsObject_wrapper) public: - QWidget * widget() { return (QWidget *)object(); }; + TQWidget * widget() { return (TQWidget *)object(); }; protected: virtual bool init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams); - QWidget * findTopLevelWidgetToWrap(const QString szClass, const QString szName); - QWidget * findWidgetToWrap(const char *szClass, const char *szName, QWidget *childOf); + TQWidget * findTopLevelWidgetToWrap(const TQString szClass, const TQString szName); + TQWidget * findWidgetToWrap(const char *szClass, const char *szName, TQWidget *childOf); }; -- cgit v1.2.1