summaryrefslogtreecommitdiffstats
path: root/kdecore/network/kclientsocketbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/network/kclientsocketbase.h')
-rw-r--r--kdecore/network/kclientsocketbase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kdecore/network/kclientsocketbase.h b/kdecore/network/kclientsocketbase.h
index 1a6d3b8b1..d4e31b6b3 100644
--- a/kdecore/network/kclientsocketbase.h
+++ b/kdecore/network/kclientsocketbase.h
@@ -292,7 +292,12 @@ public:
* Returns the number of bytes available on this socket.
* Reimplemented from KSocketBase.
*/
+#ifdef USE_QT3
virtual Q_LONG bytesAvailable() const;
+#endif
+#ifdef USE_QT4
+ virtual qint64 bytesAvailable() const;
+#endif
/**
* Waits for more data. Reimplemented from KSocketBase.