summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgameprocess.h
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/kgameprocess.h
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/kgameprocess.h')
-rw-r--r--libkdegames/kgame/kgameprocess.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/libkdegames/kgame/kgameprocess.h b/libkdegames/kgame/kgameprocess.h
index ac6389be..b7e2d145 100644
--- a/libkdegames/kgame/kgameprocess.h
+++ b/libkdegames/kgame/kgameprocess.h
@@ -37,11 +37,12 @@ class KMessageFilePipe;
* This is the process class used on the computer player
* side to communicate with its counterpart KProcessIO class.
* Using these two classes will give fully transparent communication
- * via QDataStreams.
+ * via TQDataStreams.
*/
-class KDE_EXPORT KGameProcess: public QObject
+class KDE_EXPORT KGameProcess: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -107,7 +108,7 @@ class KDE_EXPORT KGameProcess: public QObject
* @param msgid the message id for the message
* @param receiver unused
*/
- void sendMessage(TQDataStream &stream,int msgid,Q_UINT32 receiver=0);
+ void sendMessage(TQDataStream &stream,int msgid,TQ_UINT32 receiver=0);
/**
* Sends a system message to the corresonding KGameIO device.
@@ -128,7 +129,7 @@ class KDE_EXPORT KGameProcess: public QObject
* @param msgid the message id for the message
* @param receiver unused
*/
- void sendSystemMessage(TQDataStream &stream,int msgid,Q_UINT32 receiver=0);
+ void sendSystemMessage(TQDataStream &stream,int msgid,TQ_UINT32 receiver=0);
/**
* Returns a pointer to a KRandomSequence. You can generate
@@ -164,7 +165,7 @@ class KDE_EXPORT KGameProcess: public QObject
* \code
* void Computer::slotCommand(int &msgid,TQDataStream &in,TQDataStream &out)
* {
- * Q_INT32 data,move;
+ * TQ_INT32 data,move;
* in >> data;
* // compute move ...
* move=data*2;
@@ -200,7 +201,7 @@ class KDE_EXPORT KGameProcess: public QObject
* {
* // Create a move - the format is yours to decide
* // It arrives exactly as this in the kgame inputMove function!!
- * Q_INT8 x1,y1,pl;
+ * TQ_INT8 x1,y1,pl;
* pl=-1;
* x1=proc.random()->getLong(8);
* y1=proc.random()->getLong(8);