diff options
Diffstat (limited to 'kdecore/network/kclientsocketbase.cpp')
-rw-r--r-- | kdecore/network/kclientsocketbase.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kdecore/network/kclientsocketbase.cpp b/kdecore/network/kclientsocketbase.cpp index 2da802d56..7ac3ca3b1 100644 --- a/kdecore/network/kclientsocketbase.cpp +++ b/kdecore/network/kclientsocketbase.cpp @@ -278,7 +278,12 @@ void KClientSocketBase::close() } // This function is unlike all the others because it is const +#ifdef USE_QT3 Q_LONG KClientSocketBase::bytesAvailable() const +#endif +#ifdef USE_QT4 +qint64 KClientSocketBase::bytesAvailable() const +#endif { return socketDevice()->bytesAvailable(); } |