qt5base-lts/examples/widgets/tools/settingseditor
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
..
inifiles Examples: move widgets specific "tools" examples to the correct place 2012-11-28 00:56:34 +01:00
locationdialog.cpp Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
locationdialog.h Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
main.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
mainwindow.cpp Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
mainwindow.h Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
settingseditor.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
settingstree.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
settingstree.h Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
variantdelegate.cpp Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
variantdelegate.h Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00