diff options
Diffstat (limited to 'src/network/qsocket.cpp')
-rw-r--r-- | src/network/qsocket.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/network/qsocket.cpp b/src/network/qsocket.cpp index a612867be..381a1a8e6 100644 --- a/src/network/qsocket.cpp +++ b/src/network/qsocket.cpp @@ -217,9 +217,9 @@ void TQSocketPrivate::setSocketDevice( TQSocket *q, TQSocketDevice *device ) wsn = new TQSocketNotifier( socket->socket(), TQSocketNotifier::Write, q, "write" ); - TQObject::connect( rsn, SIGNAL(activated(int)), q, SLOT(sn_read()) ); + TQObject::connect( rsn, TQ_SIGNAL(activated(int)), q, TQ_SLOT(sn_read()) ); rsn->setEnabled( FALSE ); - TQObject::connect( wsn, SIGNAL(activated(int)), q, SLOT(sn_write()) ); + TQObject::connect( wsn, TQ_SIGNAL(activated(int)), q, TQ_SLOT(sn_write()) ); wsn->setEnabled( FALSE ); } @@ -424,10 +424,10 @@ void TQSocket::connectToHost( const TQString &host, TQ_UINT16 port ) // try if the address is already available (for faster connecting...) tryConnecting(); if ( d->state == HostLookup ) { - connect( d->dns4, SIGNAL(resultsReady()), - this, SLOT(tryConnecting()) ); - connect( d->dns6, SIGNAL(resultsReady()), - this, SLOT(tryConnecting()) ); + connect( d->dns4, TQ_SIGNAL(resultsReady()), + this, TQ_SLOT(tryConnecting()) ); + connect( d->dns6, TQ_SIGNAL(resultsReady()), + this, TQ_SLOT(tryConnecting()) ); } } @@ -1364,7 +1364,7 @@ void TQSocket::tryConnection() emit connected(); } else { d->state = Idle; - TQTimer::singleShot( 0, this, SLOT(emitErrorConnectionRefused()) ); + TQTimer::singleShot( 0, this, TQ_SLOT(emitErrorConnectionRefused()) ); return; } } |