aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src/qmlfunctions.qdoc
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-11-23 09:40:06 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-12-04 16:50:37 +0100
commitc74cb3b2492299bd9c8ffd95aed992667079521f (patch)
tree40e756cb8dbffd9e093a70d1f8c563562f1d8fa1 /src/qml/doc/src/qmlfunctions.qdoc
parent9984faad6dc77ce060d4bd4e303e4fa50c4199e2 (diff)
qmlfunctions.qdoc: Add QML_IMPLEMENTS_INTERFACES
Change-Id: I4ff76b49bd5f40eb58c9f44669bb4836dd9e48be Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 7b89ae6ef4158dcbd1940e088c84eba747c166bc) Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/doc/src/qmlfunctions.qdoc')
-rw-r--r--src/qml/doc/src/qmlfunctions.qdoc17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc
index 9136bc36cc..4241c7ff8f 100644
--- a/src/qml/doc/src/qmlfunctions.qdoc
+++ b/src/qml/doc/src/qmlfunctions.qdoc
@@ -134,7 +134,22 @@
Interface types are implicitly anonymous and uncreatable in QML.
- \sa QML_ELEMENT, QML_NAMED_ELEMENT(), QML_UNCREATABLE(), QML_ANONYMOUS
+ \b{NOTE:} When inheriting from types using QML_INTERFACE, use \l QML_IMPLEMENTS_INTERFACES
+ instead of \l Q_INTERFACES.
+
+ \sa QML_IMPLEMENTS_INTERFACES(), QML_ELEMENT, QML_NAMED_ELEMENT(), QML_UNCREATABLE(), QML_ANONYMOUS
+*/
+
+/*!
+ \macro QML_IMPLEMENTS_INTERFACES(interfaces)
+ \relates QQmlEngine
+
+ This macro tells Qt which QML interfaces the class implements.
+ This macro should only be used for interfacing with classes using \l QML_INTERFACE, use \l Q_INTERFACES otherwise.
+ It's required in order for declarative registration via \l QML_ELEMENT to function properly.
+
+
+ \sa QML_INTERFACE, Q_INTERFACES
*/
/*!