diff options
Diffstat (limited to 'libtdegames/kgame/kmessageserver.cpp')
-rw-r--r-- | libtdegames/kgame/kmessageserver.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libtdegames/kgame/kmessageserver.cpp b/libtdegames/kgame/kmessageserver.cpp index a09a703e..0ea66dda 100644 --- a/libtdegames/kgame/kmessageserver.cpp +++ b/libtdegames/kgame/kmessageserver.cpp @@ -413,7 +413,7 @@ void KMessageServer::processOneMessage () //kdDebug(11001) << k_funcinfo << ": got message with messageID=" << messageID << endl; switch (messageID) { - case RETQ_BROADCAST: + case REQ_BROADCAST: out_stream << TQ_UINT32 (MSG_BROADCAST) << clientID; // FIXME, compiler bug? // this should be okay, since TQBuffer is subclass of TQIODevice! : @@ -422,7 +422,7 @@ void KMessageServer::processOneMessage () broadcastMessage (out_msg); break; - case RETQ_FORWARD: + case REQ_FORWARD: { TQValueList <TQ_UINT32> clients; in_stream >> clients; @@ -433,17 +433,17 @@ void KMessageServer::processOneMessage () } break; - case RETQ_CLIENT_ID: + case REQ_CLIENT_ID: out_stream << TQ_UINT32 (ANS_CLIENT_ID) << clientID; sendMessage (clientID, out_msg); break; - case RETQ_ADMIN_ID: + case REQ_ADMIN_ID: out_stream << TQ_UINT32 (ANS_ADMIN_ID) << d->mAdminID; sendMessage (clientID, out_msg); break; - case RETQ_ADMIN_CHANGE: + case REQ_ADMIN_CHANGE: if (clientID == d->mAdminID) { TQ_UINT32 newAdmin; @@ -452,7 +452,7 @@ void KMessageServer::processOneMessage () } break; - case RETQ_REMOVE_CLIENT: + case REQ_REMOVE_CLIENT: if (clientID == d->mAdminID) { TQValueList <TQ_UINT32> client_list; @@ -468,7 +468,7 @@ void KMessageServer::processOneMessage () } break; - case RETQ_MAX_NUM_CLIENTS: + case REQ_MAX_NUM_CLIENTS: if (clientID == d->mAdminID) { TQ_INT32 maximum_clients; @@ -477,7 +477,7 @@ void KMessageServer::processOneMessage () } break; - case RETQ_CLIENT_LIST: + case REQ_CLIENT_LIST: { out_stream << TQ_UINT32 (ANS_CLIENT_LIST) << clientIDs(); sendMessage (clientID, out_msg); |