summaryrefslogtreecommitdiffstats
path: root/kdecore/network/ksocketbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/network/ksocketbase.h')
-rw-r--r--kdecore/network/ksocketbase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kdecore/network/ksocketbase.h b/kdecore/network/ksocketbase.h
index 5ef298847..133086114 100644
--- a/kdecore/network/ksocketbase.h
+++ b/kdecore/network/ksocketbase.h
@@ -532,7 +532,12 @@ public:
* Returns the number of bytes available for reading without
* blocking.
*/
+#ifdef USE_QT3
virtual Q_LONG bytesAvailable() const = 0;
+#endif
+#ifdef USE_QT4
+ virtual qint64 bytesAvailable() const = 0;
+#endif
/**
* Waits up to @p msecs for more data to be available on this socket.