diff options
Diffstat (limited to 'src/network/qdns.cpp')
-rw-r--r-- | src/network/qdns.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/network/qdns.cpp b/src/network/qdns.cpp index d259cc0e4..b1eeaa53f 100644 --- a/src/network/qdns.cpp +++ b/src/network/qdns.cpp @@ -942,15 +942,15 @@ TQDnsManager::TQDnsManager() TQTimer * sweepTimer = new TQTimer( this ); sweepTimer->start( 1000 * 60 * 3 ); - connect( sweepTimer, SIGNAL(timeout()), - this, SLOT(cleanCache()) ); + connect( sweepTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(cleanCache()) ); TQSocketNotifier * rn4 = new TQSocketNotifier( ipv4Socket->socket(), TQSocketNotifier::Read, this, "dns IPv4 socket watcher" ); ipv4Socket->setAddressReusable( FALSE ); ipv4Socket->setBlocking( FALSE ); - connect( rn4, SIGNAL(activated(int)), SLOT(answer()) ); + connect( rn4, TQ_SIGNAL(activated(int)), TQ_SLOT(answer()) ); #if !defined (TQT_NO_IPV6) // Don't connect the IPv6 socket notifier if the host does not @@ -963,7 +963,7 @@ TQDnsManager::TQDnsManager() ipv6support = TRUE; ipv6Socket->setAddressReusable( FALSE ); ipv6Socket->setBlocking( FALSE ); - connect( rn6, SIGNAL(activated(int)), SLOT(answer()) ); + connect( rn6, TQ_SIGNAL(activated(int)), TQ_SLOT(answer()) ); } #endif @@ -1169,7 +1169,7 @@ void TQDnsManager::transmitQuery( int i ) tqDebug( "DNS Manager: giving up on query 0x%04x", q->id ); #endif delete q; - TQTimer::singleShot( 0, TQDnsManager::manager(), SLOT(cleanCache()) ); + TQTimer::singleShot( 0, TQDnsManager::manager(), TQ_SLOT(cleanCache()) ); // and don't process anything more return; } @@ -1265,7 +1265,7 @@ void TQDnsManager::transmitQuery( int i ) tqDebug( "DNS Manager: no DNS server found on query 0x%04x", q->id ); #endif delete q; - TQTimer::singleShot( 1000*10, TQDnsManager::manager(), SLOT(cleanCache()) ); + TQTimer::singleShot( 1000*10, TQDnsManager::manager(), TQ_SLOT(cleanCache()) ); // and don't process anything more return; } @@ -1467,9 +1467,9 @@ TQPtrList<TQDnsRR> * TQDnsDomain::cached( const TQDns * r ) // timeouts: we make sure to use high timeouts // and few tramsissions. query->step = ns->count(); - TQObject::connect( query, SIGNAL(timeout()), + TQObject::connect( query, TQ_SIGNAL(timeout()), TQDnsManager::manager(), - SLOT(retransmit()) ); + TQ_SLOT(retransmit()) ); TQDnsManager::manager()->transmitQuery( query ); } } @@ -1519,8 +1519,8 @@ TQPtrList<TQDnsRR> * TQDnsDomain::cached( const TQDns * r ) query->t = r->recordType(); query->l = s; query->dns->replace( (void*)r, (void*)r ); - TQObject::connect( query, SIGNAL(timeout()), - TQDnsManager::manager(), SLOT(retransmit()) ); + TQObject::connect( query, TQ_SIGNAL(timeout()), + TQDnsManager::manager(), TQ_SLOT(retransmit()) ); TQDnsManager::manager()->transmitQuery( query ); } else if ( q < m->queries.size() ) { // if we've found an earlier query for the same @@ -1908,8 +1908,8 @@ void TQDns::setStartQueryTimer() { // start the query the next time we enter event loop d->queryTimer = new TQTimer( this ); - connect( d->queryTimer, SIGNAL(timeout()), - this, SLOT(startQuery()) ); + connect( d->queryTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(startQuery()) ); d->queryTimer->start( 0, TRUE ); } } @@ -2278,7 +2278,7 @@ TQString TQDns::canonicalName() const */ void TQDns::connectNotify( const char *signal ) { - if ( d->noEventLoop && qstrcmp(signal,SIGNAL(resultsReady()) )==0 ) { + if ( d->noEventLoop && qstrcmp(signal,TQ_SIGNAL(resultsReady()) )==0 ) { doSynchronousLookup(); } } |