qtdeclarative/examples/qml/referenceexamples/valuesource
Ulf Hermann cc1a604c70 Specify parameters of type registration in class declarations
Using this technique we can automatically register all necessary
revisions and minor versions of a type, using the metaobject system.
This greatly reduces the potential for mistakes and resulting
incompatibilities between versions of imports.

We assume that for each type we need to register all revisions of its
super types and its attached type, and that the revisions match. That
is, if you import version X of type A, you will also get version X of
its attached type and of any super types. As we previously didn't take
these dependencies into account when manually registering the types, a
number of extra revisions are now registered for some types.

Potentially, we can now generate the qmltypes files at compile time,
using moc.

Change-Id: I7abb8a5c39f5e63ad1a0cb41a783f2c91909491b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-09-26 12:32:17 +02:00
..
birthdayparty.cpp Reference Examples: Use initializer lists to avoid repeating type naems 2019-08-20 08:42:01 +02:00
birthdayparty.h Specify parameters of type registration in class declarations 2019-09-26 12:32:17 +02:00
example.qml Fix outdated BSD license header 2017-10-17 11:18:11 +00:00
happybirthdaysong.cpp Reference Examples: Use auto for results of new and component.create() 2019-08-20 08:42:16 +02:00
happybirthdaysong.h Reference Examples: Use override for overridden virtual functions 2019-08-20 08:42:49 +02:00
main.cpp Specify parameters of type registration in class declarations 2019-09-26 12:32:17 +02:00
person.cpp Fix outdated BSD license header 2017-10-17 11:18:11 +00:00
person.h Specify parameters of type registration in class declarations 2019-09-26 12:32:17 +02:00
valuesource.pro fix whitespace 2014-01-22 21:01:53 +01:00
valuesource.qrc More consistent examples directory structure 2012-08-10 08:56:59 +02:00