diff options
author | Michele Calgaro <[email protected]> | 2023-11-23 11:24:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-23 11:49:35 +0900 |
commit | 89c8032171eb722341972a56d0a0c8a003042511 (patch) | |
tree | fcc02c37f4280c91fffd3fe2dd7537846f78221a /tdecore/network/tdesocketdevice.cpp | |
parent | e84b6d8935842fb8dcee9dc42f8f35f36ee72748 (diff) | |
download | tdelibs-89c8032171eb722341972a56d0a0c8a003042511.tar.gz tdelibs-89c8032171eb722341972a56d0a0c8a003042511.zip |
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit d42f9ae842840a825c4ad4f7341f82003127c8f6)
Diffstat (limited to 'tdecore/network/tdesocketdevice.cpp')
-rw-r--r-- | tdecore/network/tdesocketdevice.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/network/tdesocketdevice.cpp b/tdecore/network/tdesocketdevice.cpp index 3832a401b..b5aef0943 100644 --- a/tdecore/network/tdesocketdevice.cpp +++ b/tdecore/network/tdesocketdevice.cpp @@ -414,7 +414,7 @@ static int do_read_common(int sockfd, char *data, TQ_ULONG maxlen, TDESocketAddr return 0; } -TQT_TQIO_LONG TDESocketDevice::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen) +TQ_LONG TDESocketDevice::readBlock(char *data, TQ_ULONG maxlen) { resetError(); if (m_sockfd == -1) @@ -435,7 +435,7 @@ TQT_TQIO_LONG TDESocketDevice::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen) return retval; } -TQT_TQIO_LONG TDESocketDevice::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen, TDESocketAddress &from) +TQ_LONG TDESocketDevice::readBlock(char *data, TQ_ULONG maxlen, TDESocketAddress &from) { resetError(); if (m_sockfd == -1) @@ -498,12 +498,12 @@ TQ_LONG TDESocketDevice::peekBlock(char *data, TQ_ULONG maxlen, TDESocketAddress return retval; } -TQT_TQIO_LONG TDESocketDevice::tqwriteBlock(const char *data, TQT_TQIO_ULONG len) +TQ_LONG TDESocketDevice::writeBlock(const char *data, TQ_ULONG len) { - return tqwriteBlock(data, len, TDESocketAddress()); + return writeBlock(data, len, TDESocketAddress()); } -TQT_TQIO_LONG TDESocketDevice::tqwriteBlock(const char *data, TQT_TQIO_ULONG len, const TDESocketAddress& to) +TQ_LONG TDESocketDevice::writeBlock(const char *data, TQ_ULONG len, const TDESocketAddress& to) { resetError(); if (m_sockfd == -1) |