diff options
Diffstat (limited to 'tdecore/network')
-rw-r--r-- | tdecore/network/kclientsocketbase.h | 2 | ||||
-rw-r--r-- | tdecore/network/tdesocketdevice.cpp | 2 | ||||
-rw-r--r-- | tdecore/network/tdesocketdevice.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/network/kclientsocketbase.h b/tdecore/network/kclientsocketbase.h index 246987859..bb4c44cb9 100644 --- a/tdecore/network/kclientsocketbase.h +++ b/tdecore/network/kclientsocketbase.h @@ -272,7 +272,7 @@ public: * * You should not call this function; instead, use @ref connect */ - virtual inline bool open(TQ_OpenMode) + virtual inline bool open(int) { return connect(); } /** diff --git a/tdecore/network/tdesocketdevice.cpp b/tdecore/network/tdesocketdevice.cpp index 3d683b405..3832a401b 100644 --- a/tdecore/network/tdesocketdevice.cpp +++ b/tdecore/network/tdesocketdevice.cpp @@ -171,7 +171,7 @@ bool TDESocketDevice::setSocketOptions(int opts) return true; // all went well } -bool TDESocketDevice::open(TQ_OpenMode) +bool TDESocketDevice::open(int) { resetError(); return false; diff --git a/tdecore/network/tdesocketdevice.h b/tdecore/network/tdesocketdevice.h index b01bfbc41..7d04f6694 100644 --- a/tdecore/network/tdesocketdevice.h +++ b/tdecore/network/tdesocketdevice.h @@ -142,7 +142,7 @@ public: /** * Reimplementation from TQIODevice. You should not call this function in sockets. */ - virtual bool open(TQ_OpenMode mode); + virtual bool open(int mode); /** * Closes the socket. Reimplemented from TQIODevice. |