From 5e49bbb1e8d7761d1c8cdff83184035f59dd5abe Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 10 Aug 2010 01:35:50 +0000 Subject: Additional fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1161223 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kbufferedio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kdecore/kbufferedio.h') 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 -- cgit v1.2.1