From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- dcop/kdatastream.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dcop/kdatastream.h') diff --git a/dcop/kdatastream.h b/dcop/kdatastream.h index 2d9b65210..f8502aaab 100644 --- a/dcop/kdatastream.h +++ b/dcop/kdatastream.h @@ -1,15 +1,15 @@ #ifndef __kdatastream__h #define __kdatastream__h -#include +#include -inline QDataStream & operator << (QDataStream & str, bool b) +inline TQDataStream & operator << (TQDataStream & str, bool b) { str << Q_INT8(b); return str; } -inline QDataStream & operator >> (QDataStream & str, bool & b) +inline TQDataStream & operator >> (TQDataStream & str, bool & b) { Q_INT8 l; str >> l; @@ -18,7 +18,7 @@ inline QDataStream & operator >> (QDataStream & str, bool & b) } #if QT_VERSION < 0x030200 && !defined(Q_WS_WIN) && !defined(Q_WS_MAC) -inline QDataStream & operator << (QDataStream & str, long long int ll) +inline TQDataStream & operator << (TQDataStream & str, long long int ll) { Q_UINT32 l1,l2; l1 = ll & 0xffffffffLL; @@ -27,7 +27,7 @@ inline QDataStream & operator << (QDataStream & str, long long int ll) return str; } -inline QDataStream & operator >> (QDataStream & str, long long int&ll) +inline TQDataStream & operator >> (TQDataStream & str, long long int&ll) { Q_UINT32 l1,l2; str >> l1 >> l2; @@ -35,7 +35,7 @@ inline QDataStream & operator >> (QDataStream & str, long long int&ll) return str; } -inline QDataStream & operator << (QDataStream & str, unsigned long long int ll) +inline TQDataStream & operator << (TQDataStream & str, unsigned long long int ll) { Q_UINT32 l1,l2; l1 = ll & 0xffffffffLL; @@ -44,7 +44,7 @@ inline QDataStream & operator << (QDataStream & str, unsigned long long int ll) return str; } -inline QDataStream & operator >> (QDataStream & str, unsigned long long int &ll) +inline TQDataStream & operator >> (TQDataStream & str, unsigned long long int &ll) { Q_UINT32 l1,l2; str >> l1 >> l2; -- cgit v1.2.1