summaryrefslogtreecommitdiffstats
path: root/libtdegames/kgame/kgamenetwork.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 10:10:52 +0900
commit6374e2e62eef25945347ce2c9ae9f88e61765d11 (patch)
tree707d84dbca20d20dee68626dda0d35568d7dcb34 /libtdegames/kgame/kgamenetwork.cpp
parentc26a225408c4759743b754453b07d0dca97aa749 (diff)
downloadtdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.tar.gz
tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610)
Diffstat (limited to 'libtdegames/kgame/kgamenetwork.cpp')
-rw-r--r--libtdegames/kgame/kgamenetwork.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/libtdegames/kgame/kgamenetwork.cpp b/libtdegames/kgame/kgamenetwork.cpp
index b51b5ae0..94badd88 100644
--- a/libtdegames/kgame/kgamenetwork.cpp
+++ b/libtdegames/kgame/kgamenetwork.cpp
@@ -120,25 +120,25 @@ void KGameNetwork::setMaster()
}
if (!d->mMessageClient) {
d->mMessageClient = new KMessageClient (this);
- connect (d->mMessageClient, TQT_SIGNAL(broadcastReceived(const TQByteArray&, TQ_UINT32)),
- this, TQT_SLOT(receiveNetworkTransmission(const TQByteArray&, TQ_UINT32)));
- connect (d->mMessageClient, TQT_SIGNAL(connectionBroken()),
- this, TQT_SIGNAL(signalConnectionBroken()));
- connect (d->mMessageClient, TQT_SIGNAL(aboutToDisconnect(TQ_UINT32)),
- this, TQT_SLOT(aboutToLoseConnection(TQ_UINT32)));
- connect (d->mMessageClient, TQT_SIGNAL(connectionBroken()),
- this, TQT_SLOT(slotResetConnection()));
-
- connect (d->mMessageClient, TQT_SIGNAL(adminStatusChanged(bool)),
- this, TQT_SLOT(slotAdminStatusChanged(bool)));
- connect (d->mMessageClient, TQT_SIGNAL(eventClientConnected(TQ_UINT32)),
- this, TQT_SIGNAL(signalClientConnected(TQ_UINT32)));
- connect (d->mMessageClient, TQT_SIGNAL(eventClientDisconnected(TQ_UINT32, bool)),
- this, TQT_SIGNAL(signalClientDisconnected(TQ_UINT32, bool)));
+ connect (d->mMessageClient, TQ_SIGNAL(broadcastReceived(const TQByteArray&, TQ_UINT32)),
+ this, TQ_SLOT(receiveNetworkTransmission(const TQByteArray&, TQ_UINT32)));
+ connect (d->mMessageClient, TQ_SIGNAL(connectionBroken()),
+ this, TQ_SIGNAL(signalConnectionBroken()));
+ connect (d->mMessageClient, TQ_SIGNAL(aboutToDisconnect(TQ_UINT32)),
+ this, TQ_SLOT(aboutToLoseConnection(TQ_UINT32)));
+ connect (d->mMessageClient, TQ_SIGNAL(connectionBroken()),
+ this, TQ_SLOT(slotResetConnection()));
+
+ connect (d->mMessageClient, TQ_SIGNAL(adminStatusChanged(bool)),
+ this, TQ_SLOT(slotAdminStatusChanged(bool)));
+ connect (d->mMessageClient, TQ_SIGNAL(eventClientConnected(TQ_UINT32)),
+ this, TQ_SIGNAL(signalClientConnected(TQ_UINT32)));
+ connect (d->mMessageClient, TQ_SIGNAL(eventClientDisconnected(TQ_UINT32, bool)),
+ this, TQ_SIGNAL(signalClientDisconnected(TQ_UINT32, bool)));
// broacast and direct messages are treated equally on receive.
- connect (d->mMessageClient, TQT_SIGNAL(forwardReceived(const TQByteArray&, TQ_UINT32, const TQValueList<TQ_UINT32>&)),
- d->mMessageClient, TQT_SIGNAL(broadcastReceived(const TQByteArray&, TQ_UINT32)));
+ connect (d->mMessageClient, TQ_SIGNAL(forwardReceived(const TQByteArray&, TQ_UINT32, const TQValueList<TQ_UINT32>&)),
+ d->mMessageClient, TQ_SIGNAL(broadcastReceived(const TQByteArray&, TQ_UINT32)));
} else {
// should be no problem but still has to be tested