aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-10-07 08:53:31 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-07 09:36:00 +0000
commit14844fa10764261523fbf4f41250743efc74ef46 (patch)
tree4c8925fd29134c2893bdabd1c5c9e9c735e2ec71
parent91abe6356fe6d3b223157842ffe2cfba4ac3d1ab (diff)
Clarify docs about QML_ANONYMOUS
Change-Id: I4898196cea1a3a7fc0444d351a9a14e482589cfe Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 123aa932cabae31cb78c56d195e1859b202de3aa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/doc/src/qmlfunctions.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc
index e80bab778d..6760f87dc7 100644
--- a/src/qml/doc/src/qmlfunctions.qdoc
+++ b/src/qml/doc/src/qmlfunctions.qdoc
@@ -110,8 +110,9 @@
\relates QQmlEngine
Declares the enclosing type to be available, but anonymous in QML. The type
- cannot be created or used as property type, but when passed from C++, it is
- recognized.
+ cannot be created or used to declare properties in QML, but when passed from
+ C++, it is recognized. In QML, you can use properties of this type if they
+ are declared in C++.
\sa QML_ELEMENT, QML_NAMED_ELEMENT(), QML_UNCREATABLE(), QML_INTERFACE
*/