From 374d939d8af431477ce2601815f0ba121b66871c Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 15 Feb 2011 19:11:41 +0000 Subject: Allow kdelibs to function correctly with TQt for Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- dcop/dcopserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dcop/dcopserver.cpp') diff --git a/dcop/dcopserver.cpp b/dcop/dcopserver.cpp index ef37f0a32..c78664f9a 100644 --- a/dcop/dcopserver.cpp +++ b/dcop/dcopserver.cpp @@ -127,7 +127,7 @@ static TQCString readQCString(TQDataStream &ds) TQ_UINT32 len; ds >> len; TQIODevice *device = ds.tqdevice(); - int bytesLeft = device->size()-device->at(); + int bytesLeft = device->size()-device->tqat(); if ((bytesLeft < 0 ) || (len > (uint) bytesLeft)) { qWarning("Corrupt data!\n"); @@ -146,7 +146,7 @@ static TQByteArray readQByteArray(TQDataStream &ds) TQ_UINT32 len; ds >> len; TQIODevice *device = ds.tqdevice(); - int bytesLeft = device->size()-device->at(); + int bytesLeft = device->size()-device->tqat(); if ((bytesLeft < 0 ) || (len > (uint) bytesLeft)) { qWarning("Corrupt data!\n"); -- cgit v1.2.1