qt5base-lts/examples/corelib/serialization/convert
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
..
cborconverter.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
cborconverter.h Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00
convert.pro Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
converter.h Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00
datastreamconverter.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
datastreamconverter.h Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00
jsonconverter.cpp Deprecate QJsonDocument methods for converting to/from JSON binary 2020-01-09 13:52:25 +01:00
jsonconverter.h Deprecate QJsonDocument methods for converting to/from JSON binary 2020-01-09 13:52:25 +01:00
main.cpp Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00
nullconverter.cpp Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00
nullconverter.h Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00
textconverter.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
textconverter.h Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00
xmlconverter.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
xmlconverter.h Examples: add an example that converts between different file formats 2018-07-04 03:03:47 +00:00