qt5base-lts/examples
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
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
dbus Examples: cleanup foreach usage 2019-02-02 12:49:19 +00:00
embedded QNetworkReply: deprecate the 'error' getter 2020-01-13 15:50:47 +01:00
gui Examples/OpenGLWindow: do not use hardcoded indices 2019-10-02 08:36:36 +02:00
network Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
opengl Merge remote-tracking branch 'origin/5.14' into 5.15 2019-11-08 09:11:02 +01:00
qmake Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qpa Examples: cleanup foreach usage 2019-02-02 12:49:19 +00:00
qtconcurrent Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
qtestlib Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
sql Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
vulkan Fix use of qrand/qsrand in an example 2019-04-01 14:39:53 +00:00
widgets Replace most use of QVariant::type and occurrences of QVariant::Type 2020-01-23 16:46:51 +01:00
xml Deprecate SAX classes in Qt XML 2020-01-06 18:13:01 +01:00
examples.pro Doc: Move touch examples around so they get included in docs 2018-09-14 03:56:22 +00:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.