summaryrefslogtreecommitdiffstats
path: root/tdeprint/management/networkscanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/management/networkscanner.cpp')
-rw-r--r--tdeprint/management/networkscanner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/management/networkscanner.cpp b/tdeprint/management/networkscanner.cpp
index a49a77877..1943f9354 100644
--- a/tdeprint/management/networkscanner.cpp
+++ b/tdeprint/management/networkscanner.cpp
@@ -241,9 +241,9 @@ void NetworkScanner::slotConnectionSuccess()
{
kdDebug() << "Success" << endl;
#ifdef USE_QSOCKET
- KSocketAddress *addr = KExtendedSocket::peerAddress( d->socket->socket() );
+ TDESocketAddress *addr = KExtendedSocket::peerAddress( d->socket->socket() );
#else
- KSocketAddress *addr = const_cast<KSocketAddress*>( d->socket->peerAddress() );
+ TDESocketAddress *addr = const_cast<TDESocketAddress*>( d->socket->peerAddress() );
#endif
kdDebug() << "Connection success: " << ( addr ? addr->pretty() : TQString( "ERROR" ) ) << endl;
kdDebug() << "Socket: " << d->socket->socket() << endl;