qt5base-lts/examples/widgets/tools
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
..
codecs Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
completer Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
customcompleter Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
echoplugin Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
i18n Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
plugandpaint Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
regexp Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
regularexpression Replace usages of QVariant::value by qvariant_cast 2019-12-15 12:30:52 +01:00
settingseditor Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
styleplugin Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
treemodelcompleter Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
undo Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
undoframework Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
tools.pro Convert the old feature system 2016-09-15 08:24:10 +00:00