diff options
Diffstat (limited to 'kdecore/kbufferedio.cpp')
-rw-r--r-- | kdecore/kbufferedio.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kdecore/kbufferedio.cpp b/kdecore/kbufferedio.cpp index 5b9e66dce..951c41244 100644 --- a/kdecore/kbufferedio.cpp +++ b/kdecore/kbufferedio.cpp @@ -111,12 +111,22 @@ bool KBufferedIO::setBufferSize(int rsize, int wsize /* = -2 */) return true; } +#ifdef USE_QT3 int KBufferedIO::bytesAvailable() const +#endif // USE_QT3 +#ifdef USE_QT4 +qint64 KBufferedIO::bytesAvailable() const +#endif // USE_QT4 { return readBufferSize(); } +#ifdef USE_QT3 int KBufferedIO::bytesToWrite() const +#endif // USE_QT3 +#ifdef USE_QT4 +qint64 KBufferedIO::bytesToWrite() const +#endif // USE_QT4 { return writeBufferSize(); } |