From 791601cf2bef4f097f5da82b95a05fa731118b40 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Tue, 16 Feb 2010 08:03:33 +0100 Subject: doc: Added \section1 about serializing operators for Qt collections. Task: QTBUG-8070 --- src/corelib/io/qdatastream.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/corelib/io/qdatastream.cpp b/src/corelib/io/qdatastream.cpp index 82d3b79..f27ecc1 100644 --- a/src/corelib/io/qdatastream.cpp +++ b/src/corelib/io/qdatastream.cpp @@ -156,6 +156,13 @@ QT_BEGIN_NAMESPACE data, followed by the data. Note that any encoding/decoding of the data (apart from the length quint32) must be done by you. + \section1 Reading and writing Qt collection classes + + The Qt collection classes can also be serialized to a QDataStream. + These include QList, QLinkedList, QVector, QSet, QHash, and QMap. + These classes have have stream operators declared as non-member of + the class. + \target Serializing Qt Classes \section1 Reading and writing other Qt classes. -- cgit v0.12