summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgameproperty.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /libkdegames/kgame/kgameproperty.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdegames/kgame/kgameproperty.cpp')
-rw-r--r--libkdegames/kgame/kgameproperty.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdegames/kgame/kgameproperty.cpp b/libkdegames/kgame/kgameproperty.cpp
index 3b8c3109..e7d35410 100644
--- a/libkdegames/kgame/kgameproperty.cpp
+++ b/libkdegames/kgame/kgameproperty.cpp
@@ -29,16 +29,16 @@
#define KPLAYERHANDLER_LOAD_COOKIE 6239
-KGamePropertyBase::KGamePropertyBase(int id, KGame* parent)
+KGamePropertyBase::KGamePropertyBase(int id, KGame* tqparent)
{
init();
- registerData(id, parent);
+ registerData(id, tqparent);
}
-KGamePropertyBase::KGamePropertyBase(int id, KPlayer* parent)
+KGamePropertyBase::KGamePropertyBase(int id, KPlayer* tqparent)
{
init();
- registerData(id, parent);
+ registerData(id, tqparent);
}
KGamePropertyBase::KGamePropertyBase(int id, KGamePropertyHandler* owner)
@@ -173,7 +173,7 @@ void KGamePropertyBase::setLock(bool l)
TQDataStream s(b, IO_WriteOnly);
KGameMessage::createPropertyCommand(s, IdCommand, id(), CmdLock);
- s << (Q_INT8)l;
+ s << (TQ_INT8)l;
if (mOwner) {
mOwner->sendProperty(s);
} else {
@@ -198,7 +198,7 @@ void KGamePropertyBase::command(TQDataStream& s, int cmd, bool isSender)
case CmdLock:
{
if (!isSender) {
- Q_INT8 locked;
+ TQ_INT8 locked;
s >> locked;
mFlags.bits.locked = (bool)locked ;
break;