summaryrefslogtreecommitdiffstats
path: root/tdecore/network/kbufferedsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/network/kbufferedsocket.cpp')
-rw-r--r--tdecore/network/kbufferedsocket.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdecore/network/kbufferedsocket.cpp b/tdecore/network/kbufferedsocket.cpp
index ff2e11866..51e3db002 100644
--- a/tdecore/network/kbufferedsocket.cpp
+++ b/tdecore/network/kbufferedsocket.cpp
@@ -113,7 +113,7 @@ TQ_LONG TDEBufferedSocket::waitForMore(int msecs, bool *timeout)
return retval;
}
-TQT_TQIO_LONG TDEBufferedSocket::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen)
+TQ_LONG TDEBufferedSocket::readBlock(char *data, TQ_ULONG maxlen)
{
if (d->input)
{
@@ -126,13 +126,13 @@ TQT_TQIO_LONG TDEBufferedSocket::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen)
resetError();
return d->input->consumeBuffer(data, maxlen);
}
- return KStreamSocket::tqreadBlock(data, maxlen);
+ return KStreamSocket::readBlock(data, maxlen);
}
-TQT_TQIO_LONG TDEBufferedSocket::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen, TDESocketAddress& from)
+TQ_LONG TDEBufferedSocket::readBlock(char *data, TQ_ULONG maxlen, TDESocketAddress& from)
{
from = peerAddress();
- return tqreadBlock(data, maxlen);
+ return readBlock(data, maxlen);
}
TQ_LONG TDEBufferedSocket::peekBlock(char *data, TQ_ULONG maxlen)
@@ -157,7 +157,7 @@ TQ_LONG TDEBufferedSocket::peekBlock(char *data, TQ_ULONG maxlen, TDESocketAddre
return peekBlock(data, maxlen);
}
-TQT_TQIO_LONG TDEBufferedSocket::tqwriteBlock(const char *data, TQT_TQIO_ULONG len)
+TQ_LONG TDEBufferedSocket::writeBlock(const char *data, TQ_ULONG len)
{
if (state() != Connected)
{
@@ -184,14 +184,14 @@ TQT_TQIO_LONG TDEBufferedSocket::tqwriteBlock(const char *data, TQT_TQIO_ULONG l
return d->output->feedBuffer(data, len);
}
- return KStreamSocket::tqwriteBlock(data, len);
+ return KStreamSocket::writeBlock(data, len);
}
-TQT_TQIO_LONG TDEBufferedSocket::tqwriteBlock(const char *data, TQT_TQIO_ULONG maxlen,
+TQ_LONG TDEBufferedSocket::writeBlock(const char *data, TQ_ULONG maxlen,
const TDESocketAddress&)
{
// ignore the third parameter
- return tqwriteBlock(data, maxlen);
+ return writeBlock(data, maxlen);
}
void TDEBufferedSocket::enableRead(bool enable)