summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-16 07:03:33 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-02-16 07:03:33 (GMT)
commit791601cf2bef4f097f5da82b95a05fa731118b40 (patch)
treee588284e8000a4a59467f076b7e136d619df8ea6 /src/corelib
parentd27772682d54d5d70c3e9231a63c61727123754a (diff)
downloadQt-791601cf2bef4f097f5da82b95a05fa731118b40.zip
Qt-791601cf2bef4f097f5da82b95a05fa731118b40.tar.gz
Qt-791601cf2bef4f097f5da82b95a05fa731118b40.tar.bz2
doc: Added \section1 about serializing operators for Qt collections.
Task: QTBUG-8070
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qdatastream.cpp7
1 files changed, 7 insertions, 0 deletions
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.