From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: 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 --- libkdegames/kgame/kgameproperty.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libkdegames/kgame/kgameproperty.cpp') 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; -- cgit v1.2.1