summaryrefslogtreecommitdiffstats
path: root/kio/kio/klimitediodevice.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 08:24:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 08:24:43 +0000
commit96a33d90689a46ea58f812d76fdd2eaf93edecfa (patch)
tree756ca55bffdffc115088699dd1b76c61eb6f64bf /kio/kio/klimitediodevice.h
parent5783baba4a547c443e4392f51c8023d38cb9fe6a (diff)
downloadtdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.tar.gz
tdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.zip
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
Diffstat (limited to 'kio/kio/klimitediodevice.h')
-rw-r--r--kio/kio/klimitediodevice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kio/kio/klimitediodevice.h b/kio/kio/klimitediodevice.h
index 1b82e2e49..9d59c890e 100644
--- a/kio/kio/klimitediodevice.h
+++ b/kio/kio/klimitediodevice.h
@@ -73,17 +73,17 @@ public:
virtual Offset size() const { return m_length; }
#endif // USE_QT4
- virtual TQ_LONG readBlock ( char * data, TQ_ULONG maxlen )
+ virtual TQT_TQIO_LONG tqreadBlock ( char * data, TQT_TQIO_ULONG maxlen )
{
- maxlen = QMIN( maxlen, m_length - at() ); // Apply upper limit
+ maxlen = TQMIN( maxlen, m_length - at() ); // Apply upper limit
return m_dev->readBlock( data, maxlen );
}
- virtual TQ_LONG writeBlock ( const char *, TQ_ULONG ) { return -1; } // unsupported
+ virtual TQT_TQIO_LONG tqwriteBlock ( const char *, TQT_TQIO_ULONG ) { return -1; } // unsupported
virtual int putch( int ) { return -1; } // unsupported
virtual int getch() {
char c[2];
- if ( readBlock(c, 1) == -1)
+ if ( tqreadBlock(c, 1) == -1)
return -1;
else
return c[0];