Update QDateTime serialisation docs and increase version number.

Refer to Qt::TimeSpec instead of listing potential values (which are
incomplete).

Also, the current QDataStream version number is now 13.

Change-Id: I9a68385977dc2fe4dacee75330cb539850478480
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
bb10
Mitch Curtis 2012-10-23 15:06:11 +02:00 committed by The Qt Project
parent 56552a5633
commit 774b643b85
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
The \l QDataStream allows you to serialize some of the Qt data types.
The table below lists the data types that QDataStream can serialize
and how they are represented. The format described below is
\l{QDataStream::setVersion()}{version 12}.
\l{QDataStream::setVersion()}{version 13}.
It is always best to cast integers to a Qt integer type, such as
qint16 or quint32, when reading and writing. This ensures that
@ -129,7 +129,7 @@
\li \list
\li Date (QDate)
\li Time (QTime)
\li 0 for Qt::LocalTime, 1 for Qt::UTC (quint8)
\li The \l{Qt::TimeSpec}{time spec} (quint8)
\endlist
\row \li QEasingCurve
\li \list