summaryrefslogtreecommitdiffstats
path: root/src/network/qsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/qsocket.cpp')
-rw-r--r--src/network/qsocket.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/network/qsocket.cpp b/src/network/qsocket.cpp
index fe6e0b6c0..a612867be 100644
--- a/src/network/qsocket.cpp
+++ b/src/network/qsocket.cpp
@@ -39,7 +39,7 @@
**********************************************************************/
#include "ntqsocket.h"
-#ifndef QT_NO_NETWORK
+#ifndef TQT_NO_NETWORK
#include "ntqptrlist.h"
#include "ntqtimer.h"
#include "ntqsocketdevice.h"
@@ -133,7 +133,7 @@ public:
TQValueList<TQHostAddress> addresses; // alternatives looked up
TQIODevice::Offset wsize; // write total buf size
TQIODevice::Offset windex; // write index
-#ifndef QT_NO_DNS
+#ifndef TQT_NO_DNS
TQDns *dns4;
TQDns *dns6;
#endif
@@ -148,7 +148,7 @@ TQSocketPrivate::TQSocketPrivate()
: state(TQSocket::Idle), host(TQString::fromLatin1("")), port(0),
socket(0), rsn(0), wsn(0), readBufferSize(0), wsize(0), windex(0)
{
-#ifndef QT_NO_DNS
+#ifndef TQT_NO_DNS
dns4 = 0;
dns6 = 0;
#endif
@@ -159,7 +159,7 @@ TQSocketPrivate::~TQSocketPrivate()
{
close();
delete socket;
-#ifndef QT_NO_DNS
+#ifndef TQT_NO_DNS
delete dns4;
delete dns6;
#endif
@@ -388,7 +388,7 @@ TQSocket::State TQSocket::state() const
}
-#ifndef QT_NO_DNS
+#ifndef TQT_NO_DNS
/*!
Attempts to make a connection to \a host on the specified \a port
@@ -446,7 +446,7 @@ void TQSocket::tryConnecting()
#endif
// ### this ifdef isn't correct - addresses() also does /etc/hosts and
// numeric-address-as-string handling.
-#ifndef QT_NO_DNS
+#ifndef TQT_NO_DNS
if ( d->dns4 ) {
d->l4 = d->dns4->addresses();
@@ -1430,7 +1430,7 @@ void TQSocket::setSocketIntern( int socket )
// hm... this is not very nice.
d->host = TQString::null;
d->port = 0;
-#ifndef QT_NO_DNS
+#ifndef TQT_NO_DNS
delete d->dns4;
d->dns4 = 0;
delete d->dns6;
@@ -1543,4 +1543,4 @@ TQ_ULONG TQSocket::readBufferSize() const
return d->readBufferSize;
}
-#endif //QT_NO_NETWORK
+#endif //TQT_NO_NETWORK