diff options
Diffstat (limited to 'libtdegames/kgame/kmessageclient.h')
-rw-r--r-- | libtdegames/kgame/kmessageclient.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libtdegames/kgame/kmessageclient.h b/libtdegames/kgame/kmessageclient.h index d66d4352..c08b05e4 100644 --- a/libtdegames/kgame/kmessageclient.h +++ b/libtdegames/kgame/kmessageclient.h @@ -49,7 +49,7 @@ class KMessageClientPrivate; */ class KMessageClient : public TQObject { - Q_OBJECT + TQ_OBJECT public: @@ -159,13 +159,13 @@ public: bool isConnected () const; /** - @return TRUE if isConnected() is true AND this is not a local (like + @return true if isConnected() is true AND this is not a local (like KMessageDirect) connection. */ bool isNetwork () const; /** - @return 0 if isConnected() is FALSE, otherwise the port number this client is + @return 0 if isConnected() is false, otherwise the port number this client is connected to. See also KMessageIO::peerPort and TQSocket::peerPort. @since 3.2 */ @@ -173,7 +173,7 @@ public: /** @since 3.2 - @return "localhost" if isConnected() is FALSE, otherwise the hostname this client is + @return "localhost" if isConnected() is false, otherwise the hostname this client is connected to. See also KMessageIO::peerName() and TQSocket::peerName(). */ TQString peerName() const; @@ -295,8 +295,8 @@ signals: \code KMessageClient *client = new KMessageClient (); - connect (client, TQT_SIGNAL (forwardReceived (const TQByteArray &, TQ_UINT32, const TQValueList <TQ_UINT32>&)), - client, TQT_SIGNAL (broadcastReceived (const TQByteArray &, TQ_UINT32))); + connect (client, TQ_SIGNAL (forwardReceived (const TQByteArray &, TQ_UINT32, const TQValueList <TQ_UINT32>&)), + client, TQ_SIGNAL (broadcastReceived (const TQByteArray &, TQ_UINT32))); \endcode Then connect the broadcast signal to your slot that analyzes the message. |