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>
This commit is contained in:
parent
13e2161b72
commit
50e1976437
@ -940,9 +940,10 @@ QString QPropertyBindingError::description() const
|
|||||||
QObjectBindableProperty and pass the change signal as a callback.
|
QObjectBindableProperty and pass the change signal as a callback.
|
||||||
|
|
||||||
QObjectBindableProperty is usually not used directly, instead an instance of it is created by
|
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
|
\snippet code/src_corelib_kernel_qproperty.cpp 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user