diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-17 02:26:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-17 02:26:08 +0000 |
commit | 54241a1f0a21c7433f8dd2fa0410b93d38cce520 (patch) | |
tree | e509d81c855874912b63381f3f760f0ccbadbe57 /kdecore/kbufferedio.cpp | |
parent | a52572740657a539cdc032c89ec744673071698b (diff) | |
download | tdelibs-54241a1f0a21c7433f8dd2fa0410b93d38cce520.tar.gz tdelibs-54241a1f0a21c7433f8dd2fa0410b93d38cce520.zip |
Typelocking
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1164527 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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(); } |