diff options
Diffstat (limited to 'kdecore/network/ksocketdevice.h')
-rw-r--r-- | kdecore/network/ksocketdevice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kdecore/network/ksocketdevice.h b/kdecore/network/ksocketdevice.h index 1bf4771c2..5f86687b2 100644 --- a/kdecore/network/ksocketdevice.h +++ b/kdecore/network/ksocketdevice.h @@ -198,7 +198,12 @@ public: /** * Returns the number of bytes available for reading without blocking. */ +#ifdef USE_QT3 virtual Q_LONG bytesAvailable() const; +#endif +#ifdef USE_QT4 + virtual qint64 bytesAvailable() const; +#endif /** * Waits up to @p msecs for more data to be available on this socket. |