summaryrefslogtreecommitdiffstats
path: root/kexi/kexi_global.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/kexi_global.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/kexi_global.h')
-rw-r--r--kexi/kexi_global.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/kexi_global.h b/kexi/kexi_global.h
index e833c7d5e..e724271d9 100644
--- a/kexi/kexi_global.h
+++ b/kexi/kexi_global.h
@@ -39,7 +39,7 @@
/* useful macros */
-/*! a shortcut for iterating over lists or maps, eg. QMap, QValueList */
+/*! a shortcut for iterating over lists or maps, eg. TQMap, TQValueList */
#define foreach(_class, _variable, _list) \
for (_class _variable = (_list).constBegin(); _variable!=(_list).constEnd(); ++_variable)
@@ -47,7 +47,7 @@
#define foreach_nonconst(_class, _variable, _list) \
for (_class _variable = (_list).begin(); _variable!=(_list).end(); ++_variable)
-/*! a shortcut for iterating over QPtrList and QPtrDict */
+/*! a shortcut for iterating over TQPtrList and TQPtrDict */
#define foreach_list(_class, _variable, _list) \
for (_class _variable(_list); _variable.current(); ++_variable)
@@ -55,11 +55,11 @@
#ifndef futureI18n
# ifdef USE_FUTURE_I18N
-# define futureI18n(a) QObject::tr(a)
-# define futureI18n2(a,b) QObject::tr(b)
+# define futureI18n(a) TQObject::tr(a)
+# define futureI18n2(a,b) TQObject::tr(b)
# else
-# define futureI18n(a) QString(a)
-# define futureI18n2(a,b) QString(b)
+# define futureI18n(a) TQString(a)
+# define futureI18n2(a,b) TQString(b)
# endif
#endif