qt5base-lts/tests/auto/tools/moc
Glenn Watson de9d845441 Add support to moc for registering non-local enums via Q_ENUMS.
When using the Q_ENUMS macro to register an enumeration in a class
with moc, it's now possible to provide a scoped enumeration that
exists in another class. This adds the enum class scope to
a metaobject's list of related classes stored in the extradata
field.

This allows the declarative code to handle non-local enums in
signal and slot functions that are exposed to QML.

Task-number: QTBUG-20639
Change-Id: I94f5292818095fda75762bd1508ba5c69de19503
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2011-11-27 22:51:39 +01:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
testproject Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +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 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
backslash-newlines.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
c-comments.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
cstyle-enums.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
cxx11-enums.h moc: support c++11 style enums 2011-10-29 21:18:45 +02:00
dir-in-include-path.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
error-on-wrong-notify.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
escapes-in-string-literals.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
extraqualification.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
forgotten-qinterface.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
gadgetwithnoenums.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
macro-on-cmdline.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
moc.pro moc: support c++11 style enums 2011-10-29 21:18:45 +02:00
namespaced-flags.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
no-keywords.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
oldstyle-casts.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
os9-newlines.h Merge branch 'master' of codereview.qt-project.org:qt/qtbase 2011-09-13 10:20:08 +02:00
parse-boost.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
pure-virtual-signals.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
qinvokable.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
qprivateslots.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
single_function_keyword.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
slots-with-void-template.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
task87883.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
task189996.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
task192552.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
task234909.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
task240368.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
template-gtgt.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
trigraphs.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
tst_moc.cpp Add support to moc for registering non-local enums via Q_ENUMS. 2011-11-27 22:51:39 +01:00
using-namespaces.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
warn-on-multiple-qobject-subclasses.h Fix moc autotest 2011-09-29 08:55:10 +02:00
warn-on-property-without-read.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
win-newlines.h Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00