qt5base-lts/tests/auto/corelib/kernel/qmetaobject
Olivier Goffart 14583137ae Introduce Q_ENUM and Q_FLAG macros
In replacement for Q_ENUMS and Q_FLAGS.

Q_ENUM(Foo) has to be put after the declaration of Foo in an object.
It will tell moc to include the enum in the meta object (just like
Q_ENUMS) and will allow templated code to get the metaobject for
that enum.

Will be used by QDebug and QMetaType

Change-Id: Iefaf8ae07dc0359828102bf384809346629b3e23
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
2015-01-13 17:52:14 +01:00
..
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
qmetaobject.pro rewrite qtMetaObjectInheritance() without gui 2013-10-11 21:03:39 +02:00
tst_qmetaobject.cpp Introduce Q_ENUM and Q_FLAG macros 2015-01-13 17:52:14 +01:00