diff options
| author | Dmitrii Akshintsev <dmitrii.akshintsev@qt.io> | 2025-11-17 20:30:27 +0100 |
|---|---|---|
| committer | Dmitrii Akshintsev <dmitrii.akshintsev@qt.io> | 2025-12-05 17:56:17 +0100 |
| commit | e27d5fc6a6b97884c665161882d989cb5778df93 (patch) | |
| tree | c286c09008b9986362519184256aab36a24d8ded /src/corelib/doc/snippets | |
| parent | 888af1ad02af0eab10322a23b032872d72b59fb5 (diff) | |
QMetaProperty: Introduce VIRTUAL, OVERRIDE attributes
[ChangeLog][QML] VIRTUAL and OVERRIDE attributes will be used
for the expanded override semantics in QML. See QTBUG-98320 for the details.
Task-number: QTBUG-98320
Change-Id: I56826a6b9158c0beeb58ad1564a58c22f15027bf
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
| -rw-r--r-- | src/corelib/doc/snippets/code/doc_src_properties.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/doc/snippets/code/doc_src_properties.cpp b/src/corelib/doc/snippets/code/doc_src_properties.cpp index eafa7acda3b..07f574c2de2 100644 --- a/src/corelib/doc/snippets/code/doc_src_properties.cpp +++ b/src/corelib/doc/snippets/code/doc_src_properties.cpp @@ -16,6 +16,8 @@ Q_PROPERTY(type name [BINDABLE bindableProperty] [CONSTANT] [FINAL] + [VIRTUAL] + [OVERRIDE] [REQUIRED]) //! [0] |
