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> |
||
|---|---|---|
| .. | ||
| Test.framework/Headers | ||
| task71021 | ||
| testproject | ||
| .gitattributes | ||
| .gitignore | ||
| Header | ||
| assign-namespace.h | ||
| backslash-newlines.h | ||
| c-comments.h | ||
| cstyle-enums.h | ||
| cxx11-enums.h | ||
| dir-in-include-path.h | ||
| error-on-wrong-notify.h | ||
| escapes-in-string-literals.h | ||
| extraqualification.h | ||
| forgotten-qinterface.h | ||
| gadgetwithnoenums.h | ||
| interface-from-framework.h | ||
| macro-on-cmdline.h | ||
| moc.pro | ||
| namespaced-flags.h | ||
| no-keywords.h | ||
| oldstyle-casts.h | ||
| os9-newlines.h | ||
| parse-boost.h | ||
| pure-virtual-signals.h | ||
| qinvokable.h | ||
| qprivateslots.h | ||
| single_function_keyword.h | ||
| slots-with-void-template.h | ||
| task87883.h | ||
| task189996.h | ||
| task192552.h | ||
| task234909.h | ||
| task240368.h | ||
| template-gtgt.h | ||
| trigraphs.h | ||
| tst_moc.cpp | ||
| using-namespaces.h | ||
| warn-on-multiple-qobject-subclasses.h | ||
| warn-on-property-without-read.h | ||
| win-newlines.h | ||