diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/protocols/jabber/libiris/iris/xmpp-core/connector.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 <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp')
-rw-r--r-- | kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp index a27811ec..493d887d 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp @@ -231,9 +231,9 @@ AdvancedConnector::AdvancedConnector(TQObject *parent) #ifdef NO_NDNS d->qdns = 0; #else - connect(&d->dns, TQT_SIGNAL(resultsReady()), TQT_SLOT(dns_done())); + connect(&d->dns, TQ_SIGNAL(resultsReady()), TQ_SLOT(dns_done())); #endif - connect(&d->srv, TQT_SIGNAL(resultsReady()), TQT_SLOT(srv_done())); + connect(&d->srv, TQ_SIGNAL(resultsReady()), TQ_SLOT(srv_done())); d->opt_probe = false; d->opt_ssl = false; cleanup(); @@ -326,10 +326,10 @@ void AdvancedConnector::connectToServer(const TQString &server) HttpPoll *s = new HttpPoll; d->bs = s; - connect(s, TQT_SIGNAL(connected()), TQT_SLOT(bs_connected())); - connect(s, TQT_SIGNAL(syncStarted()), TQT_SLOT(http_syncStarted())); - connect(s, TQT_SIGNAL(syncFinished()), TQT_SLOT(http_syncFinished())); - connect(s, TQT_SIGNAL(error(int)), TQT_SLOT(bs_error(int))); + connect(s, TQ_SIGNAL(connected()), TQ_SLOT(bs_connected())); + connect(s, TQ_SIGNAL(syncStarted()), TQ_SLOT(http_syncStarted())); + connect(s, TQ_SIGNAL(syncFinished()), TQ_SLOT(http_syncFinished())); + connect(s, TQ_SIGNAL(error(int)), TQ_SLOT(bs_error(int))); if(!d->proxy.user().isEmpty()) s->setAuth(d->proxy.user(), d->proxy.pass()); s->setPollInterval(d->proxy.pollInterval()); @@ -389,7 +389,7 @@ void AdvancedConnector::do_resolve() #ifdef NO_NDNS printf("resolving (aaaa=%d)\n", d->aaaa); d->qdns = new TQDns; - connect(d->qdns, TQT_SIGNAL(resultsReady()), TQT_SLOT(dns_done())); + connect(d->qdns, TQ_SIGNAL(resultsReady()), TQ_SLOT(dns_done())); if(d->aaaa) d->qdns->setRecordType(TQDns::Aaaa); // IPv6 else @@ -502,8 +502,8 @@ void AdvancedConnector::do_connect() #endif BSocket *s = new BSocket; d->bs = s; - connect(s, TQT_SIGNAL(connected()), TQT_SLOT(bs_connected())); - connect(s, TQT_SIGNAL(error(int)), TQT_SLOT(bs_error(int))); + connect(s, TQ_SIGNAL(connected()), TQ_SLOT(bs_connected())); + connect(s, TQ_SIGNAL(error(int)), TQ_SLOT(bs_error(int))); s->connectToHost(d->host, d->port); } else if(t == Proxy::HttpConnect) { @@ -512,8 +512,8 @@ void AdvancedConnector::do_connect() #endif HttpConnect *s = new HttpConnect; d->bs = s; - connect(s, TQT_SIGNAL(connected()), TQT_SLOT(bs_connected())); - connect(s, TQT_SIGNAL(error(int)), TQT_SLOT(bs_error(int))); + connect(s, TQ_SIGNAL(connected()), TQ_SLOT(bs_connected())); + connect(s, TQ_SIGNAL(error(int)), TQ_SLOT(bs_error(int))); if(!d->proxy.user().isEmpty()) s->setAuth(d->proxy.user(), d->proxy.pass()); s->connectToHost(d->proxy.host(), d->proxy.port(), d->host, d->port); @@ -524,8 +524,8 @@ void AdvancedConnector::do_connect() #endif SocksClient *s = new SocksClient; d->bs = s; - connect(s, TQT_SIGNAL(connected()), TQT_SLOT(bs_connected())); - connect(s, TQT_SIGNAL(error(int)), TQT_SLOT(bs_error(int))); + connect(s, TQ_SIGNAL(connected()), TQ_SLOT(bs_connected())); + connect(s, TQ_SIGNAL(error(int)), TQ_SLOT(bs_error(int))); if(!d->proxy.user().isEmpty()) s->setAuth(d->proxy.user(), d->proxy.pass()); s->connectToHost(d->proxy.host(), d->proxy.port(), d->host, d->port); |