qt5base-lts/tests/auto/tools/moc
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
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Update license headers and add new license files 2014-09-24 12:26:19 +02:00
testproject Update license headers and add new license files 2014-09-24 12:26:19 +02:00
.gitattributes Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
assign-namespace.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
backslash-newlines.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
c-comments.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
cstyle-enums.h Introduce Q_ENUM and Q_FLAG macros 2015-01-13 17:52:14 +01:00
cxx11-enums.h Introduce Q_ENUM and Q_FLAG macros 2015-01-13 17:52:14 +01:00
cxx11-explicit-override-control.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
cxx11-final-classes.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
dir-in-include-path.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
dollars.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
error-on-wrong-notify.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
escapes-in-string-literals.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
extraqualification.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
forgotten-qinterface.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
forward-declared-param.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
function-with-attributes.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
gadgetwithnoenums.h Introduce Q_ENUM and Q_FLAG macros 2015-01-13 17:52:14 +01:00
grand-parent-gadget-class.h moc: Don't link to inexistent parent staticMetaObject 2015-01-13 11:25:53 +01:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
interface-from-include.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
macro-on-cmdline.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
moc.pro moc: Don't link to inexistent parent staticMetaObject 2015-01-13 11:25:53 +01:00
namespaced-flags.h Introduce Q_ENUM and Q_FLAG macros 2015-01-13 17:52:14 +01:00
no-keywords.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
non-gadget-parent-class.h moc: Don't link to inexistent parent staticMetaObject 2015-01-13 11:25:53 +01:00
oldstyle-casts.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
os9-newlines.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
parse-boost.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
parse-defines.h moc: do not error if the last token of a define is # 2014-10-28 19:37:10 +01:00
plugin_metadata.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
pp-dollar-signs.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
pure-virtual-signals.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qinvokable.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qprivateslots.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtbug-35657-gadget.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
related-metaobjects-in-gadget.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
related-metaobjects-in-namespaces.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
related-metaobjects-name-conflict.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
single_function_keyword.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
single-quote-digit-separator-n3781.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
slots-with-void-template.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task87883.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task189996.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task192552.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task234909.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task240368.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
template-gtgt.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
trigraphs.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tst_moc.cpp Introduce Q_ENUM and Q_FLAG macros 2015-01-13 17:52:14 +01:00
unterminated-function-macro.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
using-namespaces.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
warn-on-multiple-qobject-subclasses.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
warn-on-property-without-read.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win-newlines.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00