summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgamemessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgame/kgamemessage.cpp')
-rw-r--r--libkdegames/kgame/kgamemessage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdegames/kgame/kgamemessage.cpp b/libkdegames/kgame/kgamemessage.cpp
index 6464d407..228708e9 100644
--- a/libkdegames/kgame/kgamemessage.cpp
+++ b/libkdegames/kgame/kgamemessage.cpp
@@ -60,38 +60,38 @@ bool KGameMessage::isGame(Q_UINT32 msgid)
}
-void KGameMessage::createHeader(QDataStream &msg,Q_UINT32 sender,Q_UINT32 receiver,int msgid)
+void KGameMessage::createHeader(TQDataStream &msg,Q_UINT32 sender,Q_UINT32 receiver,int msgid)
{
msg << (Q_INT16)sender << (Q_INT16)receiver << (Q_INT16)msgid;
}
-void KGameMessage::extractHeader(QDataStream &msg,Q_UINT32 &sender,Q_UINT32 &receiver,int &msgid)
+void KGameMessage::extractHeader(TQDataStream &msg,Q_UINT32 &sender,Q_UINT32 &receiver,int &msgid)
{
Q_INT16 d3,d4,d5;
msg >> d3 >> d4 >> d5;
sender=d3;receiver=d4;msgid=d5;
}
-void KGameMessage::createPropertyHeader(QDataStream &msg,int id)
+void KGameMessage::createPropertyHeader(TQDataStream &msg,int id)
{
msg << (Q_INT16)id;
}
-void KGameMessage::extractPropertyHeader(QDataStream &msg,int &id)
+void KGameMessage::extractPropertyHeader(TQDataStream &msg,int &id)
{
Q_INT16 d1;
msg >> d1;
id=d1;
}
-void KGameMessage::createPropertyCommand(QDataStream &msg,int cmdid,int pid,int cmd)
+void KGameMessage::createPropertyCommand(TQDataStream &msg,int cmdid,int pid,int cmd)
{
createPropertyHeader(msg,cmdid);
msg << (Q_INT16)pid ;
msg << (Q_INT8)cmd ;
}
-void KGameMessage::extractPropertyCommand(QDataStream &msg,int &pid,int &cmd)
+void KGameMessage::extractPropertyCommand(TQDataStream &msg,int &pid,int &cmd)
{
Q_INT16 d1;
Q_INT8 d2;
@@ -105,7 +105,7 @@ int KGameMessage::version()
return MESSAGE_VERSION;
}
-QString KGameMessage::messageId2Text(int msgid)
+TQString KGameMessage::messageId2Text(int msgid)
{
// this should contain all KGameMessage::GameMessageIds
// feel free to add missing ones, to remove obsolete one and even feel free to
@@ -151,6 +151,6 @@ QString KGameMessage::messageId2Text(int msgid)
return i18n("Player ID");
case KGameMessage::IdUser: // IdUser must be unknown for use, too!
default:
- return QString::null;
+ return TQString::null;
}
}