diff options
Diffstat (limited to 'libkdegames/kgame/kgameerror.cpp')
-rw-r--r-- | libkdegames/kgame/kgameerror.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libkdegames/kgame/kgameerror.cpp b/libkdegames/kgame/kgameerror.cpp index eb98a797..ef6145fb 100644 --- a/libkdegames/kgame/kgameerror.cpp +++ b/libkdegames/kgame/kgameerror.cpp @@ -30,8 +30,8 @@ TQByteArray KGameError::errVersion(int remoteVersion) { TQByteArray b; TQDataStream s(b, IO_WriteOnly); - s << (Q_INT32)KGameMessage::version(); - s << (Q_INT32)remoteVersion; + s << (TQ_INT32)KGameMessage::version(); + s << (TQ_INT32)remoteVersion; return b; } @@ -39,8 +39,8 @@ TQByteArray KGameError::errCookie(int localCookie, int remoteCookie) { TQByteArray b; TQDataStream s(b, IO_WriteOnly); - s << (Q_INT32)localCookie; - s << (Q_INT32)remoteCookie; + s << (TQ_INT32)localCookie; + s << (TQ_INT32)remoteCookie; return b; } @@ -56,24 +56,24 @@ TQString KGameError::errorText(int errorCode, TQDataStream& s) switch (errorCode) { case Cookie: { - Q_INT32 cookie1; - Q_INT32 cookie2; + TQ_INT32 cookie1; + TQ_INT32 cookie2; s >> cookie1; s >> cookie2; - text = i18n("Cookie mismatch!\nExpected Cookie: %1\nReceived Cookie: %2").arg(cookie1).arg(cookie2); + text = i18n("Cookie mismatch!\nExpected Cookie: %1\nReceived Cookie: %2").tqarg(cookie1).tqarg(cookie2); break; } case Version: { - Q_INT32 version1; - Q_INT32 version2; + TQ_INT32 version1; + TQ_INT32 version2; s >> version1; s >> version2; - text = i18n("KGame Version mismatch!\nExpected Version: %1\nReceived Version: %2\n").arg(version1).arg(version2); + text = i18n("KGame Version mismatch!\nExpected Version: %1\nReceived Version: %2\n").tqarg(version1).tqarg(version2); break; } default: - text = i18n("Unknown error code %1").arg(errorCode); + text = i18n("Unknown error code %1").tqarg(errorCode); } return text; } |