From e8f6750e65767709575720eb6da1402e6ef20bad Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 26 Aug 2023 14:53:30 +0900 Subject: Drop USE_TQT4 code Signed-off-by: Michele Calgaro (cherry picked from commit 57af4f9d87ac88216a3bbcebaeed55db07a8948d) --- tdecore/network/tdesocketbase.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tdecore/network/tdesocketbase.h') diff --git a/tdecore/network/tdesocketbase.h b/tdecore/network/tdesocketbase.h index 706900117..e50f899dc 100644 --- a/tdecore/network/tdesocketbase.h +++ b/tdecore/network/tdesocketbase.h @@ -504,11 +504,7 @@ public: * This call is not supported on sockets. Reimplemented from TQIODevice. * This will always return 0. */ -#ifdef USE_QT4 - virtual qint64 size() const -#else // USE_QT4 virtual Offset size() const -#endif // USE_QT4 { return 0; } /** @@ -536,12 +532,7 @@ public: * Returns the number of bytes available for reading without * blocking. */ -#ifdef USE_QT3 virtual TQ_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. -- cgit v1.2.1