diff options
| author | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-02-24 13:14:50 +0100 |
|---|---|---|
| committer | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-02-28 20:11:31 +0100 |
| commit | ab72fde37ce25f37411b4b5ed3e2971633a77010 (patch) | |
| tree | a5ec0fd9417500cfe03370bd3f2ad75065e8d840 /src | |
| parent | d0e06ce10ae7046989779df47eb83091fd4c84ac (diff) | |
QQmlSA: Expose AccessSemantics enum publicly
The enum was already exposed through functions like
Element::accessSemantics but its entries were not.
Also, QQmlSA is still in Technical Preview and exposing the enum doesn't
affect BC so picking to 6.8 is fine.
Pick-to: 6.9 6.8
Change-Id: I2e7662bafa3f36ed5fcad2a60b665d88f1695c0a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
| -rw-r--r-- | src/qmlcompiler/qqmlsa.h | 2 | ||||
| -rw-r--r-- | src/qmlcompiler/qqmlsa_p.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/qmlcompiler/qqmlsa.h b/src/qmlcompiler/qqmlsa.h index 960e091ec9..48d09bb74a 100644 --- a/src/qmlcompiler/qqmlsa.h +++ b/src/qmlcompiler/qqmlsa.h @@ -42,11 +42,11 @@ class PassManager; class PassManagerPrivate; class PropertyPass; class PropertyPrivate; -enum class AccessSemantics; struct BindingInfo; struct PropertyPassInfo; enum class MethodType { Signal, Slot, Method, StaticMethod }; +enum class AccessSemantics { Reference, Value, None, Sequence }; class Q_QMLCOMPILER_EXPORT Binding { diff --git a/src/qmlcompiler/qqmlsa_p.h b/src/qmlcompiler/qqmlsa_p.h index cd9aefffd9..a05f5c5f16 100644 --- a/src/qmlcompiler/qqmlsa_p.h +++ b/src/qmlcompiler/qqmlsa_p.h @@ -29,8 +29,6 @@ class QQmlJSImportVisitor; namespace QQmlSA { -enum class AccessSemantics { Reference, Value, None, Sequence }; - enum class Flag { Creatable = 0x1, Composite = 0x2, |
