diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-23 11:24:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-23 11:24:09 +0900 |
commit | d42f9ae842840a825c4ad4f7341f82003127c8f6 (patch) | |
tree | bd64982422408b4a7662280134119037ece4da3b /tdecore/kextsock.cpp | |
parent | 73dba53e4a36a31d7c803806706cc8a17a245e5c (diff) | |
download | tdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.tar.gz tdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.zip |
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/kextsock.cpp')
-rw-r--r-- | tdecore/kextsock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kextsock.cpp b/tdecore/kextsock.cpp index 39ddc2f18..933691855 100644 --- a/tdecore/kextsock.cpp +++ b/tdecore/kextsock.cpp @@ -1431,7 +1431,7 @@ void KExtendedSocket::flush() } -TQT_TQIO_LONG KExtendedSocket::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen) +TQ_LONG KExtendedSocket::readBlock(char *data, TQ_ULONG maxlen) { cleanError(); if (d->status < connected || d->flags & passiveSocket) @@ -1476,7 +1476,7 @@ TQT_TQIO_LONG KExtendedSocket::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen) return retval; } -TQT_TQIO_LONG KExtendedSocket::tqwriteBlock(const char *data, TQT_TQIO_ULONG len) +TQ_LONG KExtendedSocket::writeBlock(const char *data, TQ_ULONG len) { cleanError(); if (d->status < connected || d->status >= closing || d->flags & passiveSocket) @@ -1596,7 +1596,7 @@ int KExtendedSocket::getch() { unsigned char c; int retval; - retval = tqreadBlock((char*)&c, sizeof(c)); + retval = readBlock((char*)&c, sizeof(c)); if (retval < 0) return retval; @@ -1606,7 +1606,7 @@ int KExtendedSocket::getch() int KExtendedSocket::putch(int ch) { unsigned char c = (char)ch; - return tqwriteBlock((char*)&c, sizeof(c)); + return writeBlock((char*)&c, sizeof(c)); } // sets the emission of the readyRead signal |