summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/internal.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 12:28:49 +0900
committerMichele Calgaro <[email protected]>2024-01-13 12:28:49 +0900
commitc20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch)
tree50b08262da538c5b91f77e83e4b80d7fd6dbe0de /libksirtet/lib/internal.cpp
parent51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff)
downloadtdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz
tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'libksirtet/lib/internal.cpp')
-rw-r--r--libksirtet/lib/internal.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libksirtet/lib/internal.cpp b/libksirtet/lib/internal.cpp
index a3f07cbb..e508e4d9 100644
--- a/libksirtet/lib/internal.cpp
+++ b/libksirtet/lib/internal.cpp
@@ -76,8 +76,8 @@ Network::Network(MPInterface *_interface,
for (; it.current(); ++it) {
rd.socket = it.current()->socket;
rd.socket->notifier()->setEnabled(TRUE);
- connect(rd.socket->notifier(), TQT_SIGNAL(activated(int)),
- TQT_SLOT(notifier(int)));
+ connect(rd.socket->notifier(), TQ_SIGNAL(activated(int)),
+ TQ_SLOT(notifier(int)));
uint nb = it.current()->bds.count();
Q_ASSERT( nb>=1 );
rd.array = new BufferArray(nb);
@@ -155,8 +155,8 @@ LocalServer::LocalServer(MPInterface *_interface,
uint _interval)
: Local(_interface, _boards), Server(_interval)
{
- connect(&timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeoutSlot()));
- connect(&ctimer, TQT_SIGNAL(timeout()), TQT_SLOT(congestionTimeoutSlot()));
+ connect(&timer, TQ_SIGNAL(timeout()), TQ_SLOT(timeoutSlot()));
+ connect(&ctimer, TQ_SIGNAL(timeout()), TQ_SLOT(congestionTimeoutSlot()));
serverTimeout();
}
@@ -167,8 +167,8 @@ NetworkServer::NetworkServer(MPInterface *_interface,
: Network(_interface, _boards, rhd), Server(_interval),
nbReceived(remotes.count())
{
- connect(&timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeoutSlot()));
- connect(&ctimer, TQT_SIGNAL(timeout()), TQT_SLOT(congestionTimeoutSlot()));
+ connect(&timer, TQ_SIGNAL(timeout()), TQ_SLOT(timeoutSlot()));
+ connect(&ctimer, TQ_SIGNAL(timeout()), TQ_SLOT(congestionTimeoutSlot()));
// to catch unexpected data
for (uint i=0; i<remotes.count(); i++) remotes[i].received = TRUE;
nbReceived = remotes.count();