summaryrefslogtreecommitdiffstats
path: root/tdecore/network/tdesocketdevice.cpp
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/network/tdesocketdevice.cpp
parent97fea74e68727e260cb1901763ad4d43f7f96342 (diff)
downloadtdelibs-e8f6750e.tar.gz
tdelibs-e8f6750e.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 57af4f9d87ac88216a3bbcebaeed55db07a8948d)
Diffstat (limited to 'tdecore/network/tdesocketdevice.cpp')
-rw-r--r--tdecore/network/tdesocketdevice.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tdecore/network/tdesocketdevice.cpp b/tdecore/network/tdesocketdevice.cpp
index 6f3ec755b..3d683b405 100644
--- a/tdecore/network/tdesocketdevice.cpp
+++ b/tdecore/network/tdesocketdevice.cpp
@@ -364,12 +364,7 @@ bool TDESocketDevice::disconnect()
return true; // all is well
}
-#ifdef USE_QT3
TQ_LONG TDESocketDevice::bytesAvailable() const
-#endif
-#ifdef USE_QT4
-qint64 TDESocketDevice::bytesAvailable() const
-#endif
{
if (m_sockfd == -1)
return -1; // there's nothing to read in a closed socket