summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2023-11-10 13:38:15 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-11-13 15:43:35 +0000
commit8806b91afe96b449c7a6e7fb2a08aafcf832bfd4 (patch)
tree9ad7d2802a7d9cb853b7c3c657d77d9401a2774d
parent462351a1077560eaa01e83879dc558423d1f8bf1 (diff)
Doc: Merge dangling text with \note paragraph
It's not possible to have empty lines inside a \note as this will cause the text after the empty line to appear outside the note box. So, remove the empty lines to make the note paragraph complete. Also, revise the text. Fixes: QTBUG-117111 Pick-to: 6.5 Change-Id: I50ad0cd559f684c5264898ef8bbac16910f96dea Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit e4bde15e149cf449911c9b871acfe8fafd4ac712) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/corelib/kernel/qproperty.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp
index b6e4caa709..c2ade0599b 100644
--- a/src/corelib/kernel/qproperty.cpp
+++ b/src/corelib/kernel/qproperty.cpp
@@ -1287,15 +1287,13 @@ QString QPropertyBindingError::description() const
can be used to express relationships between different properties in your
application.
- \note In the case of QML it is important that \l QProperty needs to be exposed
- in \l Q_PROPERTY with the BINDABLE keyword. As a result the QML engine, uses it
- as the bindable interface to set up the property binding. In turn, the binding
- can be then interacted with C++ via the normal API like:
-
+ \note For QML, it's important to expose the \l QProperty in \l Q_PROPERTY
+ with the BINDABLE keyword. As a result, the QML engine uses
+ it as the bindable interface to set up the property binding. In turn, the
+ binding can then be interacted with C++ via the normal API:
QProperty<T>::onValueChanged, QProperty::takeBinding and QBindable::hasBinding
-
- If the property is BINDABLE, then the engine will use the change-tracking
- inherent to the C++ property system for getting notified about changes; and
+ If the property is BINDABLE, the engine will use the change-tracking
+ inherent to the C++ property system for getting notified about changes, and it
won't rely on signals being emitted.
*/