summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgameprocess.h
diff options
context:
space:
mode:
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);