summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp')
-rw-r--r--kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp
index f314e23e..750abdcb 100644
--- a/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp
+++ b/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp
@@ -169,7 +169,7 @@ SocksUDP::SocksUDP(SocksClient *sc, const TQString &host, int port, const TQHost
d->sd = new TQSocketDevice(TQSocketDevice::Datagram);
d->sd->setBlocking(false);
d->sn = new TQSocketNotifier(d->sd->socket(), TQSocketNotifier::Read);
- connect(d->sn, TQT_SIGNAL(activated(int)), TQT_SLOT(sn_activated(int)));
+ connect(d->sn, TQ_SIGNAL(activated(int)), TQ_SLOT(sn_activated(int)));
d->host = host;
d->port = port;
d->routeAddr = routeAddr;
@@ -548,12 +548,12 @@ SocksClient::SocksClient(int s, TQObject *parent)
void SocksClient::init()
{
d = new Private;
- connect(&d->sock, TQT_SIGNAL(connected()), TQT_SLOT(sock_connected()));
- connect(&d->sock, TQT_SIGNAL(connectionClosed()), TQT_SLOT(sock_connectionClosed()));
- connect(&d->sock, TQT_SIGNAL(delayedCloseFinished()), TQT_SLOT(sock_delayedCloseFinished()));
- connect(&d->sock, TQT_SIGNAL(readyRead()), TQT_SLOT(sock_readyRead()));
- connect(&d->sock, TQT_SIGNAL(bytesWritten(int)), TQT_SLOT(sock_bytesWritten(int)));
- connect(&d->sock, TQT_SIGNAL(error(int)), TQT_SLOT(sock_error(int)));
+ connect(&d->sock, TQ_SIGNAL(connected()), TQ_SLOT(sock_connected()));
+ connect(&d->sock, TQ_SIGNAL(connectionClosed()), TQ_SLOT(sock_connectionClosed()));
+ connect(&d->sock, TQ_SIGNAL(delayedCloseFinished()), TQ_SLOT(sock_delayedCloseFinished()));
+ connect(&d->sock, TQ_SIGNAL(readyRead()), TQ_SLOT(sock_readyRead()));
+ connect(&d->sock, TQ_SIGNAL(bytesWritten(int)), TQ_SLOT(sock_bytesWritten(int)));
+ connect(&d->sock, TQ_SIGNAL(error(int)), TQ_SLOT(sock_error(int)));
reset(true);
}
@@ -1108,7 +1108,7 @@ SocksServer::SocksServer(TQObject *parent)
d = new Private;
d->sd = 0;
d->sn = 0;
- connect(&d->serv, TQT_SIGNAL(connectionReady(int)), TQT_SLOT(connectionReady(int)));
+ connect(&d->serv, TQ_SIGNAL(connectionReady(int)), TQ_SLOT(connectionReady(int)));
}
SocksServer::~SocksServer()
@@ -1139,7 +1139,7 @@ bool SocksServer::listen(TQ_UINT16 port, bool udp)
return false;
}
d->sn = new TQSocketNotifier(d->sd->socket(), TQSocketNotifier::Read);
- connect(d->sn, TQT_SIGNAL(activated(int)), TQT_SLOT(sn_activated(int)));
+ connect(d->sn, TQ_SIGNAL(activated(int)), TQ_SLOT(sn_activated(int)));
}
return true;
}
@@ -1172,10 +1172,10 @@ SocksClient *SocksServer::takeIncoming()
d->incomingConns.removeRef(c);
// we don't care about errors anymore
- disconnect(c, TQT_SIGNAL(error(int)), this, TQT_SLOT(connectionError()));
+ disconnect(c, TQ_SIGNAL(error(int)), this, TQ_SLOT(connectionError()));
// don't serve the connection until the event loop, to give the caller a chance to map signals
- TQTimer::singleShot(0, c, TQT_SLOT(serve()));
+ TQTimer::singleShot(0, c, TQ_SLOT(serve()));
return c;
}
@@ -1192,7 +1192,7 @@ void SocksServer::writeUDP(const TQHostAddress &addr, int port, const TQByteArra
void SocksServer::connectionReady(int s)
{
SocksClient *c = new SocksClient(s, this);
- connect(c, TQT_SIGNAL(error(int)), this, TQT_SLOT(connectionError()));
+ connect(c, TQ_SIGNAL(error(int)), this, TQ_SLOT(connectionError()));
d->incomingConns.append(c);
incomingReady();
}