summaryrefslogtreecommitdiffstats
path: root/tdecore/kextsock.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-26 14:53:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-31 10:10:06 +0900
commite8f6750e65767709575720eb6da1402e6ef20bad (patch)
treed1d2db5eff55dc1f66155b8f4ef2ba260a1b1b3c /tdecore/kextsock.h
parent97fea74e68727e260cb1901763ad4d43f7f96342 (diff)
downloadtdelibs-e8f6750e65767709575720eb6da1402e6ef20bad.tar.gz
tdelibs-e8f6750e65767709575720eb6da1402e6ef20bad.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 57af4f9d87ac88216a3bbcebaeed55db07a8948d)
Diffstat (limited to 'tdecore/kextsock.h')
-rw-r--r--tdecore/kextsock.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/tdecore/kextsock.h b/tdecore/kextsock.h
index f9edb033e..78068f03f 100644
--- a/tdecore/kextsock.h
+++ b/tdecore/kextsock.h
@@ -22,10 +22,6 @@
#include "tdelibs_export.h"
-#ifdef Q_MOC_RUN
-#define Q_OS_UNIX
-#endif // Q_MOC_RUN
-
#ifdef Q_OS_UNIX
#include <sys/time.h>
@@ -211,12 +207,7 @@ public:
* freeing any related resources still being kept.
* @since 3.1
*/
-#ifdef USE_QT3
void reset();
-#endif // USE_QT3
-#ifdef USE_QT4
- bool reset();
-#endif // USE_QT4
/*
* --- status, flags and internal variables --- *
@@ -685,12 +676,7 @@ public:
* Returns length of this socket. This call is not supported on sockets.
* @return the length of this socket, or 0 if unsupported
*/
-#ifdef USE_QT3
virtual inline TQ_ULONG size() const
-#endif // USE_QT3
-#ifdef USE_QT4
- virtual inline qint64 size() const
-#endif // USE_QT4
{ return 0; }
/**
@@ -805,12 +791,7 @@ public:
* @return The number of available bytes, or -1 on error or -2 if this call is invalid
* in the current state.
*/
-#ifdef USE_QT3
virtual int bytesAvailable() const;
-#endif // USE_QT3
-#ifdef USE_QT4
- virtual qint64 bytesAvailable() const;
-#endif // USE_QT4
/**
* Waits @p msec milliseconds for more data to be available (use 0 to