summaryrefslogtreecommitdiffstats
path: root/tdecore/network
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:15:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:15:32 +0900
commit0f36f8966371d24decc0740ccf9f8b0cc2c57838 (patch)
tree13adb17728b88c3e7bdcc83fd2c2a131939f7770 /tdecore/network
parentcc5cf548f13ee0c43c41ac60ad056765e7dccb26 (diff)
downloadtdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.tar.gz
tdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.zip
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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.