summaryrefslogtreecommitdiffstats
path: root/kdecore/kbufferedio.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-10 01:35:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-10 01:35:50 +0000
commit5e49bbb1e8d7761d1c8cdff83184035f59dd5abe (patch)
treefa1382c6347c96905232e51b2acf949b148c68fc /kdecore/kbufferedio.h
parentfe082a00283cee09d8529449e86d21a45d80a671 (diff)
downloadtdelibs-5e49bbb1e8d7761d1c8cdff83184035f59dd5abe.tar.gz
tdelibs-5e49bbb1e8d7761d1c8cdff83184035f59dd5abe.zip
Additional fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1161223 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kbufferedio.h')
-rw-r--r--kdecore/kbufferedio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/kdecore/kbufferedio.h b/kdecore/kbufferedio.h
index b020663eb..234034d87 100644
--- a/kdecore/kbufferedio.h
+++ b/kdecore/kbufferedio.h
@@ -117,7 +117,12 @@ public:
* Returns the number of bytes available for reading in the read buffer
* @return the number of bytes available for reading
*/
+#ifdef USE_QT3
virtual int bytesAvailable() const;
+#endif // USE_QT3
+#ifdef USE_QT4
+ virtual qint64 bytesAvailable() const;
+#endif // USE_QT4
/**
* Waits for more data to be available and returns the amount of available data then.
@@ -131,7 +136,12 @@ public:
* Returns the number of bytes yet to write, still in the write buffer
* @return the number of unwritten bytes in the write buffer
*/
+#ifdef USE_QT3
virtual int bytesToWrite() const;
+#endif // USE_QT3
+#ifdef USE_QT4
+ virtual qint64 bytesToWrite() const;
+#endif // USE_QT4
/**
* Checks whether there is enough data in the buffer to read a line