diff options
Diffstat (limited to 'kdecore/network/kbufferedsocket.cpp')
-rw-r--r-- | kdecore/network/kbufferedsocket.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kdecore/network/kbufferedsocket.cpp b/kdecore/network/kbufferedsocket.cpp index 52d826c88..04115c051 100644 --- a/kdecore/network/kbufferedsocket.cpp +++ b/kdecore/network/kbufferedsocket.cpp @@ -93,7 +93,12 @@ void KBufferedSocket::close() } } +#ifdef USE_QT3 Q_LONG KBufferedSocket::bytesAvailable() const +#endif +#ifdef USE_QT4 +qint64 KBufferedSocket::bytesAvailable() const +#endif { if (!d->input) return KStreamSocket::bytesAvailable(); @@ -279,7 +284,12 @@ KIOBufferBase* KBufferedSocket::outputBuffer() return d->output; } +#ifdef USE_QT3 Q_ULONG KBufferedSocket::bytesToWrite() const +#endif +#ifdef USE_QT4 +qint64 KBufferedSocket::bytesToWrite() const +#endif { if (!d->output) return 0; |