summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgameerror.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgame/kgameerror.cpp')
-rw-r--r--libkdegames/kgame/kgameerror.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdegames/kgame/kgameerror.cpp b/libkdegames/kgame/kgameerror.cpp
index 93f40f93..eb98a797 100644
--- a/libkdegames/kgame/kgameerror.cpp
+++ b/libkdegames/kgame/kgameerror.cpp
@@ -26,33 +26,33 @@
#include <klocale.h>
-QByteArray KGameError::errVersion(int remoteVersion)
+TQByteArray KGameError::errVersion(int remoteVersion)
{
- QByteArray b;
- QDataStream s(b, IO_WriteOnly);
+ TQByteArray b;
+ TQDataStream s(b, IO_WriteOnly);
s << (Q_INT32)KGameMessage::version();
s << (Q_INT32)remoteVersion;
return b;
}
-QByteArray KGameError::errCookie(int localCookie, int remoteCookie)
+TQByteArray KGameError::errCookie(int localCookie, int remoteCookie)
{
- QByteArray b;
- QDataStream s(b, IO_WriteOnly);
+ TQByteArray b;
+ TQDataStream s(b, IO_WriteOnly);
s << (Q_INT32)localCookie;
s << (Q_INT32)remoteCookie;
return b;
}
-QString KGameError::errorText(int errorCode, const QByteArray& message)
+TQString KGameError::errorText(int errorCode, const TQByteArray& message)
{
- QDataStream s(message, IO_ReadOnly);
+ TQDataStream s(message, IO_ReadOnly);
return errorText(errorCode, s);
}
-QString KGameError::errorText(int errorCode, QDataStream& s)
+TQString KGameError::errorText(int errorCode, TQDataStream& s)
{
- QString text;
+ TQString text;
switch (errorCode) {
case Cookie:
{