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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeprint/management/networkscanner.cpp b/tdeprint/management/networkscanner.cpp
index a49a77877..ee4e7dbc7 100644
--- a/tdeprint/management/networkscanner.cpp
+++ b/tdeprint/management/networkscanner.cpp
@@ -30,9 +30,9 @@
#include <tqlineedit.h>
#include <tqregexp.h>
#include <tqsocket.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kextendedsocket.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <knumvalidator.h>
#include <kdebug.h>
#include <unistd.h>
@@ -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;