qt5base-lts/examples/corelib/serialization
Olivier Goffart 73d1476fb1 Replace most use of QVariant::type and occurrences of QVariant::Type
I made a clazy automated check that replaced the use of QVariant::Type
by the equivalent in QMetaType.
This has been deprecated since Qt 5.0, but many uses were not yet removed.

In addition, there was some manual changes to fix the compilation errors.

Adapted the Private API of QDateTimeParser and QMimeDataPrivate
and adjust QDateTimeEdit and QSpinBox.

QVariant(QVariant::Invalid) in qstylesheet made no sense.

But note that in QVariant::save, we actually wanted to use the non-user type.

In the SQL module, many changes were actually reverted because the API
still expects QVarient::Type.

Change-Id: I98c368490e4ee465ed3a3b63bda8b8eaa50ea67e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-01-23 16:46:51 +01:00
..
cbordump Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
convert Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
savegame Deprecate QJsonDocument methods for converting to/from JSON binary 2020-01-09 13:52:25 +01:00
serialization.pro Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00