From 96a33d90689a46ea58f812d76fdd2eaf93edecfa Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 08:24:43 +0000 Subject: Additional TQt for Qt4 compilation fixes This should not affect TQt for Qt3 per usual git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215674 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kextsock.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdecore/kextsock.cpp') diff --git a/kdecore/kextsock.cpp b/kdecore/kextsock.cpp index 826e8a014..c6561bad4 100644 --- a/kdecore/kextsock.cpp +++ b/kdecore/kextsock.cpp @@ -1436,7 +1436,7 @@ void KExtendedSocket::flush() } -TQ_LONG KExtendedSocket::readBlock(char *data, TQ_ULONG maxlen) +TQT_TQIO_LONG KExtendedSocket::tqreadBlock(char *data, TQT_TQIO_ULONG maxlen) { cleanError(); if (d->status < connected || d->flags & passiveSocket) @@ -1481,7 +1481,7 @@ TQ_LONG KExtendedSocket::readBlock(char *data, TQ_ULONG maxlen) return retval; } -TQ_LONG KExtendedSocket::writeBlock(const char *data, TQ_ULONG len) +TQT_TQIO_LONG KExtendedSocket::tqwriteBlock(const char *data, TQT_TQIO_ULONG len) { cleanError(); if (d->status < connected || d->status >= closing || d->flags & passiveSocket) @@ -1606,7 +1606,7 @@ int KExtendedSocket::getch() { unsigned char c; int retval; - retval = readBlock((char*)&c, sizeof(c)); + retval = tqreadBlock((char*)&c, sizeof(c)); if (retval < 0) return retval; @@ -1616,7 +1616,7 @@ int KExtendedSocket::getch() int KExtendedSocket::putch(int ch) { unsigned char c = (char)ch; - return writeBlock((char*)&c, sizeof(c)); + return tqwriteBlock((char*)&c, sizeof(c)); } // sets the emission of the readyRead signal -- cgit v1.2.3