summaryrefslogtreecommitdiffstats
path: root/dcop/kdatastream.h
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/kdatastream.h')
-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