diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-27 10:43:20 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-28 19:58:44 +0200 |
commit | 16bc558bb29e65e84bbc9d93f730ad81de5d0dc3 (patch) | |
tree | e8664f08d2f10396481fe15aaf3889467e2e3103 /tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h | |
parent | 2b7016cf3724e7d9cca7beb77f82e9fb976f0c57 (diff) |
Propagate ImmediatePropertyNames through type registrar and QQmlJSScope
Change-Id: Ibaa2b86e823349ecf76e8199f2e68b8ad18d159a
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h')
-rw-r--r-- | tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h index 62f22af420..a5549865d7 100644 --- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h +++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h @@ -418,6 +418,20 @@ struct DeferredPropertyNames : public QObject Q_CLASSINFO("DeferredPropertyNames", "A,B,C") }; +struct ImmediatePropertyNamesEmpty : public QObject +{ + Q_OBJECT + QML_ELEMENT + Q_CLASSINFO("ImmediatePropertyNames", "") +}; + +struct ImmediatePropertyNames : public QObject +{ + Q_OBJECT + QML_ELEMENT + Q_CLASSINFO("ImmediatePropertyNames", "A,B,C") +}; + namespace ForeignNamespace { Q_NAMESPACE @@ -471,6 +485,7 @@ private slots: void namespacesAndValueTypes(); void namespaceExtendedNamespace(); void deferredNames(); + void immediateNames(); void derivedFromForeignPrivate(); void methodReturnType(); |