summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2020-12-14 10:28:38 +0100
committerIvan Solovev <ivan.solovev@qt.io>2020-12-15 15:54:46 +0100
commit50e1976437f645e9d6571d4498e9d44388e59c19 (patch)
treea7139bafd0fa4e811de80e7105bc4eaab7604b69 /src/corelib
parent13e2161b7282f995cc702af5d343b5c9d4c03e48 (diff)
QProperty docs: update macro name
Use Q_OBJECT_BINDABLE_PROPERTY instead of non-existing ones Task-number: QTBUG-85520 Pick-to: 6.0 Change-Id: I47e3ff150f54176b42a478fd3ff639754d90e70a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/kernel/qproperty.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp
index e9228e2141..1fd5951675 100644
--- a/src/corelib/kernel/qproperty.cpp
+++ b/src/corelib/kernel/qproperty.cpp
@@ -940,9 +940,10 @@ QString QPropertyBindingError::description() const
QObjectBindableProperty and pass the change signal as a callback.
QObjectBindableProperty is usually not used directly, instead an instance of it is created by
- using the Q_BINDABLE_PROPERTY_DATA macro.
+ using the Q_OBJECT_BINDABLE_PROPERTY macro.
- Use the Q_BINDABLE_PROPERTY macro in the class declaration to declare the property as bindable.
+ Use the Q_OBJECT_BINDABLE_PROPERTY macro in the class declaration to declare
+ the property as bindable.
\snippet code/src_corelib_kernel_qproperty.cpp 0