summaryrefslogtreecommitdiffstats
path: root/tdecore/network/tdesocketbase.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-26 14:53:30 +0900
committerMichele Calgaro <[email protected]>2023-08-31 10:10:06 +0900
commite8f6750e65767709575720eb6da1402e6ef20bad (patch)
treed1d2db5eff55dc1f66155b8f4ef2ba260a1b1b3c /tdecore/network/tdesocketbase.h
parent97fea74e68727e260cb1901763ad4d43f7f96342 (diff)
downloadtdelibs-e8f6750e65767709575720eb6da1402e6ef20bad.tar.gz
tdelibs-e8f6750e65767709575720eb6da1402e6ef20bad.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 57af4f9d87ac88216a3bbcebaeed55db07a8948d)
Diffstat (limited to 'tdecore/network/tdesocketbase.h')
-rw-r--r--tdecore/network/tdesocketbase.h9
1 files changed, 0 insertions, 9 deletions
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.