summaryrefslogtreecommitdiffstats
path: root/tdecore/network/kclientsocketbase.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-26 14:53:30 +0900
committerMichele Calgaro <[email protected]>2023-08-26 14:53:30 +0900
commit57af4f9d87ac88216a3bbcebaeed55db07a8948d (patch)
tree9b2639876a268642abf8496deb98346237124eb1 /tdecore/network/kclientsocketbase.h
parent503eb0d9f476369e9733b22d56054da5031af100 (diff)
downloadtdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.tar.gz
tdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdecore/network/kclientsocketbase.h')
-rw-r--r--tdecore/network/kclientsocketbase.h16
1 files changed, 1 insertions, 15 deletions
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 <tdelibs_export.h>
-#ifdef Q_MOC_RUN
-#define USE_QT4
-#endif // Q_MOC_RUN
-
namespace KNetwork {
class KClientSocketBasePrivate;
@@ -50,12 +46,7 @@ class KClientSocketBasePrivate;
*
* @author Thiago Macieira <[email protected]>
*/
-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.