equal
deleted
inserted
replaced
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
|
17 #include "afserializer.h" |
17 #include <s32mem.h> |
18 #include <s32mem.h> |
18 #include "afserializer.h" |
|
19 // ----------------------------------------------------------------------------- |
19 // ----------------------------------------------------------------------------- |
20 // |
20 // |
21 // ----------------------------------------------------------------------------- |
21 // ----------------------------------------------------------------------------- |
22 // |
22 // |
23 RBuf8 &operator <<(RBuf8 &dst, const QVariantHash &src) |
23 RBuf8 &operator <<(RBuf8 &dst, const QVariantHash &src) |
43 { |
43 { |
44 QByteArray buffer(QByteArray::fromRawData(reinterpret_cast<const char *>(src.Ptr()), |
44 QByteArray buffer(QByteArray::fromRawData(reinterpret_cast<const char *>(src.Ptr()), |
45 src.Length()) ); |
45 src.Length()) ); |
46 |
46 |
47 QDataStream stream(&buffer, QIODevice::ReadOnly); |
47 QDataStream stream(&buffer, QIODevice::ReadOnly); |
48 QT_TRYCATCH_LEAVING(stream >> dst); |
48 stream >> dst; |
49 return dst; |
49 return dst; |
50 } |
50 } |