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/kclientsocketbase.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'tdecore/network/kclientsocketbase.h') diff --git a/tdecore/network/kclientsocketbase.h b/tdecore/network/kclientsocketbase.h index 647a86c90..246987859 100644 --- a/tdecore/network/kclientsocketbase.h +++ b/tdecore/network/kclientsocketbase.h @@ -32,10 +32,6 @@ #include "kresolver.h" #include -#ifdef Q_MOC_RUN -#define USE_QT4 -#endif // Q_MOC_RUN - namespace KNetwork { class KClientSocketBasePrivate; @@ -50,12 +46,7 @@ class KClientSocketBasePrivate; * * @author Thiago Macieira */ -class TDECORE_EXPORT KClientSocketBase : -#ifdef USE_QT4 -#else // USE_QT4 -public TQObject, -#endif // USE_QT4 -public KActiveSocketBase +class TDECORE_EXPORT KClientSocketBase : public TQObject, public KActiveSocketBase { TQ_OBJECT @@ -302,12 +293,7 @@ public: * Returns the number of bytes available on this socket. * Reimplemented from TDESocketBase. */ -#ifdef USE_QT3 virtual TQ_LONG bytesAvailable() const; -#endif -#ifdef USE_QT4 - virtual qint64 bytesAvailable() const; -#endif /** * Waits for more data. Reimplemented from TDESocketBase. -- cgit v1.2.1