summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/object_macros.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/objects/object_macros.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
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
Diffstat (limited to 'src/modules/objects/object_macros.h')
-rw-r--r--src/modules/objects/object_macros.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/object_macros.h b/src/modules/objects/object_macros.h
index 9c0360b2..8e9b788d 100644
--- a/src/modules/objects/object_macros.h
+++ b/src/modules/objects/object_macros.h
@@ -31,7 +31,7 @@
#include "kvi_kvs_object_functioncall.h"
#define KVSO_DECLARE_OBJECT(__className) \
- __className(KviKvsObjectClass * pClass,KviKvsObject * pParent,const QString &szName); \
+ __className(KviKvsObjectClass * pClass,KviKvsObject * pParent,const TQString &szName); \
~__className(); \
static void registerSelf(); \
static void unregisterSelf();
@@ -51,7 +51,7 @@
#define KVSO_BEGIN_REGISTERCLASS(__className,__stringName,__baseClass) \
static KviKvsObjectClass * g_pKvs##__className##Class = 0; \
- static KviKvsObject * kvs_##__className##_createInstance(KviKvsObjectClass * pClass,KviKvsObject * pParent,const QString &szName) \
+ static KviKvsObject * kvs_##__className##_createInstance(KviKvsObjectClass * pClass,KviKvsObject * pParent,const TQString &szName) \
{ \
return new __className(pClass,pParent,szName); \
} \
@@ -72,7 +72,7 @@
#define KVSO_BEGIN_CONSTRUCTOR(__className,__baseClass) \
- __className::__className(KviKvsObjectClass * pClass,KviKvsObject * pParent,const QString &szName) \
+ __className::__className(KviKvsObjectClass * pClass,KviKvsObject * pParent,const TQString &szName) \
: __baseClass(pClass,pParent,szName) \
{