summaryrefslogtreecommitdiffstats
path: root/dcop/kdatastream.h
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/kdatastream.h')
-rw-r--r--dcop/kdatastream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dcop/kdatastream.h b/dcop/kdatastream.h
index f8502aaab..de85ebb47 100644
--- a/dcop/kdatastream.h
+++ b/dcop/kdatastream.h
@@ -3,6 +3,7 @@
#include <tqdatastream.h>
+#ifdef USE_QT3
inline TQDataStream & operator << (TQDataStream & str, bool b)
{
str << Q_INT8(b);
@@ -16,6 +17,7 @@ inline TQDataStream & operator >> (TQDataStream & str, bool & b)
b = bool(l);
return str;
}
+#endif // USE_QT3
#if QT_VERSION < 0x030200 && !defined(Q_WS_WIN) && !defined(Q_WS_MAC)
inline TQDataStream & operator << (TQDataStream & str, long long int ll)