summaryrefslogtreecommitdiffstats
path: root/tdecore/network/ksockssocketdevice.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-23 11:24:09 +0900
committerMichele Calgaro <[email protected]>2023-11-23 11:24:09 +0900
commitd42f9ae842840a825c4ad4f7341f82003127c8f6 (patch)
treebd64982422408b4a7662280134119037ece4da3b /tdecore/network/ksockssocketdevice.cpp
parent73dba53e4a36a31d7c803806706cc8a17a245e5c (diff)
downloadtdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.tar.gz
tdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.zip
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdecore/network/ksockssocketdevice.cpp')
-rw-r--r--tdecore/network/ksockssocketdevice.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/network/ksockssocketdevice.cpp b/tdecore/network/ksockssocketdevice.cpp
index b7171999c..c4ac6b4dc 100644
--- a/tdecore/network/ksockssocketdevice.cpp
+++ b/tdecore/network/ksockssocketdevice.cpp
@@ -214,7 +214,7 @@ static int socks_read_common(int sockfd, char *data, TQ_ULONG maxlen, TDESocketA
return 0;
}
-TQ_LONG KSocksSocketDevice::tqreadBlock(char *data, TQ_ULONG maxlen)
+TQ_LONG KSocksSocketDevice::readBlock(char *data, TQ_ULONG maxlen)
{
resetError();
if (m_sockfd == -1)
@@ -235,7 +235,7 @@ TQ_LONG KSocksSocketDevice::tqreadBlock(char *data, TQ_ULONG maxlen)
return retval;
}
-TQ_LONG KSocksSocketDevice::tqreadBlock(char *data, TQ_ULONG maxlen, TDESocketAddress &from)
+TQ_LONG KSocksSocketDevice::readBlock(char *data, TQ_ULONG maxlen, TDESocketAddress &from)
{
resetError();
if (m_sockfd == -1)
@@ -298,12 +298,12 @@ TQ_LONG KSocksSocketDevice::peekBlock(char *data, TQ_ULONG maxlen, TDESocketAddr
return retval;
}
-TQ_LONG KSocksSocketDevice::tqwriteBlock(const char *data, TQ_ULONG len)
+TQ_LONG KSocksSocketDevice::writeBlock(const char *data, TQ_ULONG len)
{
- return tqwriteBlock(data, len, TDESocketAddress());
+ return writeBlock(data, len, TDESocketAddress());
}
-TQ_LONG KSocksSocketDevice::tqwriteBlock(const char *data, TQ_ULONG len, const TDESocketAddress& to)
+TQ_LONG KSocksSocketDevice::writeBlock(const char *data, TQ_ULONG len, const TDESocketAddress& to)
{
resetError();
if (m_sockfd == -1)