diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-26 14:53:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-31 10:10:06 +0900 |
commit | e8f6750e65767709575720eb6da1402e6ef20bad (patch) | |
tree | d1d2db5eff55dc1f66155b8f4ef2ba260a1b1b3c /tdecore/network/kbufferedsocket.h | |
parent | 97fea74e68727e260cb1901763ad4d43f7f96342 (diff) | |
download | tdelibs-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/network/kbufferedsocket.h')
-rw-r--r-- | tdecore/network/kbufferedsocket.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tdecore/network/kbufferedsocket.h b/tdecore/network/kbufferedsocket.h index 180314525..76c5dd057 100644 --- a/tdecore/network/kbufferedsocket.h +++ b/tdecore/network/kbufferedsocket.h @@ -99,12 +99,7 @@ public: /** * Make use of the buffers. */ -#ifdef USE_QT3 virtual TQ_LONG bytesAvailable() const; -#endif -#ifdef USE_QT4 - virtual qint64 bytesAvailable() const; -#endif /** * Make use of buffers. @@ -183,12 +178,7 @@ public: /** * Returns the length of the output buffer. */ -#ifdef USE_QT3 virtual TQ_ULONG bytesToWrite() const; -#endif -#ifdef USE_QT4 - virtual qint64 bytesToWrite() const; -#endif /** * Closes the socket and discards any output data that had been buffered @@ -208,8 +198,6 @@ public: */ TQCString readLine(); - // KDE4: make virtual, add timeout to match the Qt4 signature - // and move to another class up the hierarchy /** * Blocks until the connection is either established, or completely * failed. @@ -255,12 +243,7 @@ public: * which required a call to reset() in order to be able to connect again * using the same device. This is not necessary in TDEBufferedSocket any more. */ -#ifdef USE_QT3 inline void reset() -#endif -#ifdef USE_QT4 - inline bool reset() -#endif { closeNow(); } }; |