diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp')
-rw-r--r-- | kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp index cabd62b3..96843678 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp @@ -63,9 +63,9 @@ BSocket::BSocket(TQObject *parent) { d = new Private; #ifndef NO_NDNS - connect(&d->ndns, TQT_SIGNAL(resultsReady()), TQT_SLOT(ndns_done())); + connect(&d->ndns, TQ_SIGNAL(resultsReady()), TQ_SLOT(ndns_done())); #endif - connect(&d->srv, TQT_SIGNAL(resultsReady()), TQT_SLOT(srv_done())); + connect(&d->srv, TQ_SIGNAL(resultsReady()), TQ_SLOT(srv_done())); reset(); } @@ -110,13 +110,13 @@ void BSocket::ensureSocket() if(!d->qsock) { d->qsock = new TQSocket; d->qsock->setReadBufferSize(READBUFSIZE); - connect(d->qsock, TQT_SIGNAL(hostFound()), TQT_SLOT(qs_hostFound())); - connect(d->qsock, TQT_SIGNAL(connected()), TQT_SLOT(qs_connected())); - connect(d->qsock, TQT_SIGNAL(connectionClosed()), TQT_SLOT(qs_connectionClosed())); - connect(d->qsock, TQT_SIGNAL(delayedCloseFinished()), TQT_SLOT(qs_delayedCloseFinished())); - connect(d->qsock, TQT_SIGNAL(readyRead()), TQT_SLOT(qs_readyRead())); - connect(d->qsock, TQT_SIGNAL(bytesWritten(int)), TQT_SLOT(qs_bytesWritten(int))); - connect(d->qsock, TQT_SIGNAL(error(int)), TQT_SLOT(qs_error(int))); + connect(d->qsock, TQ_SIGNAL(hostFound()), TQ_SLOT(qs_hostFound())); + connect(d->qsock, TQ_SIGNAL(connected()), TQ_SLOT(qs_connected())); + connect(d->qsock, TQ_SIGNAL(connectionClosed()), TQ_SLOT(qs_connectionClosed())); + connect(d->qsock, TQ_SIGNAL(delayedCloseFinished()), TQ_SLOT(qs_delayedCloseFinished())); + connect(d->qsock, TQ_SIGNAL(readyRead()), TQ_SLOT(qs_readyRead())); + connect(d->qsock, TQ_SIGNAL(bytesWritten(int)), TQ_SLOT(qs_bytesWritten(int))); + connect(d->qsock, TQ_SIGNAL(error(int)), TQ_SLOT(qs_error(int))); } } @@ -283,7 +283,7 @@ void BSocket::srv_done() d->host = d->srv.resultAddress().toString(); d->port = d->srv.resultPort(); do_connect(); - //TQTimer::singleShot(0, this, TQT_SLOT(do_connect())); + //TQTimer::singleShot(0, this, TQ_SLOT(do_connect())); //hostFound(); } @@ -294,7 +294,7 @@ void BSocket::ndns_done() d->host = d->ndns.resultString(); d->state = Connecting; do_connect(); - //TQTimer::singleShot(0, this, TQT_SLOT(do_connect())); + //TQTimer::singleShot(0, this, TQ_SLOT(do_connect())); //hostFound(); } else { |