diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /dcop/kdatastream.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcop/kdatastream.h')
-rw-r--r-- | dcop/kdatastream.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 <qdatastream.h> +#include <tqdatastream.h> -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; |