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 /dcop | |
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 'dcop')
-rw-r--r-- | dcop/kdatastream.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/dcop/kdatastream.h b/dcop/kdatastream.h index 4a135b9d9..345d46d87 100644 --- a/dcop/kdatastream.h +++ b/dcop/kdatastream.h @@ -3,7 +3,6 @@ #include <tqdatastream.h> -#ifdef USE_QT3 inline TQDataStream & operator << (TQDataStream & str, bool b) { str << TQ_INT8(b); @@ -17,42 +16,5 @@ inline TQDataStream & operator >> (TQDataStream & str, bool & b) b = bool(l); return str; } -#endif // USE_QT3 - -#if TQT_VERSION < 0x030200 && !defined(Q_WS_WIN) && !defined(Q_WS_MAC) -inline TQDataStream & operator << (TQDataStream & str, long long int ll) -{ - TQ_UINT32 l1,l2; - l1 = ll & 0xffffffffLL; - l2 = ll >> 32; - str << l1 << l2; - return str; -} - -inline TQDataStream & operator >> (TQDataStream & str, long long int&ll) -{ - TQ_UINT32 l1,l2; - str >> l1 >> l2; - ll = ((unsigned long long int)(l2) << 32) + (long long int) l1; - return str; -} - -inline TQDataStream & operator << (TQDataStream & str, unsigned long long int ll) -{ - TQ_UINT32 l1,l2; - l1 = ll & 0xffffffffLL; - l2 = ll >> 32; - str << l1 << l2; - return str; -} - -inline TQDataStream & operator >> (TQDataStream & str, unsigned long long int &ll) -{ - TQ_UINT32 l1,l2; - str >> l1 >> l2; - ll = ((unsigned long long int)(l2) << 32) + (unsigned long long int) l1; - return str; -} -#endif #endif |