summaryrefslogtreecommitdiffstats
path: root/tdecore/network
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-12 21:15:32 +0900
committerMichele Calgaro <[email protected]>2023-09-12 22:25:25 +0900
commit5cb1ea082794e19d062e004023ce44fae093d5bc (patch)
tree89609f35d633fe5f71d36d0948b118bbf16a2209 /tdecore/network
parentc7cf5fd96d2696a522b5a377c53899d8d7bd5d80 (diff)
downloadtdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.tar.gz
tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.zip
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838)
Diffstat (limited to 'tdecore/network')
-rw-r--r--tdecore/network/kclientsocketbase.h2
-rw-r--r--tdecore/network/tdesocketdevice.cpp2
-rw-r--r--tdecore/network/tdesocketdevice.h2
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.