From 229a34d015564ecd61be45648f15044ea3e4ec8a Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 5 Aug 2010 21:54:32 +0000 Subject: Various compilation fixes. Most are to specify types where ambiguity is present, so for example 'T' becomes (QChar)'T' git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1159657 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- dcop/kdatastream.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dcop/kdatastream.h') 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 +#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) -- cgit v1.2.1