summaryrefslogtreecommitdiffstats
path: root/kdecore/network
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/network')
-rw-r--r--kdecore/network/kclientsocketbase.h2
-rw-r--r--kdecore/network/ksocketdevice.cpp2
-rw-r--r--kdecore/network/ksocketdevice.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/kdecore/network/kclientsocketbase.h b/kdecore/network/kclientsocketbase.h
index 7ec934483..75e796ffc 100644
--- a/kdecore/network/kclientsocketbase.h
+++ b/kdecore/network/kclientsocketbase.h
@@ -281,7 +281,7 @@ public:
*
* You should not call this function; instead, use @ref connect
*/
- virtual inline bool open(OpenMode)
+ virtual inline bool open(TQ_OpenMode)
{ return connect(); }
/**
diff --git a/kdecore/network/ksocketdevice.cpp b/kdecore/network/ksocketdevice.cpp
index 54c15b156..36e0a5c7b 100644
--- a/kdecore/network/ksocketdevice.cpp
+++ b/kdecore/network/ksocketdevice.cpp
@@ -171,7 +171,7 @@ bool KSocketDevice::setSocketOptions(int opts)
return true; // all went well
}
-bool KSocketDevice::open(OpenMode)
+bool KSocketDevice::open(TQ_OpenMode)
{
resetError();
return false;
diff --git a/kdecore/network/ksocketdevice.h b/kdecore/network/ksocketdevice.h
index 4e7c6353d..7c288b722 100644
--- a/kdecore/network/ksocketdevice.h
+++ b/kdecore/network/ksocketdevice.h
@@ -142,7 +142,7 @@ public:
/**
* Reimplementation from TQIODevice. You should not call this function in sockets.
*/
- virtual bool open(OpenMode mode);
+ virtual bool open(TQ_OpenMode mode);
/**
* Closes the socket. Reimplemented from TQIODevice.