summaryrefslogtreecommitdiffstats
path: root/dcop
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-26 14:53:30 +0900
commit57af4f9d87ac88216a3bbcebaeed55db07a8948d (patch)
tree9b2639876a268642abf8496deb98346237124eb1 /dcop
parent503eb0d9f476369e9733b22d56054da5031af100 (diff)
downloadtdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.tar.gz
tdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dcop')
-rw-r--r--dcop/kdatastream.h38
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