diff options
Diffstat (limited to 'src/corelib/kernel/qproperty.cpp')
| -rw-r--r-- | src/corelib/kernel/qproperty.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp index 7368af2df6e..4238400b358 100644 --- a/src/corelib/kernel/qproperty.cpp +++ b/src/corelib/kernel/qproperty.cpp @@ -1516,6 +1516,8 @@ QString QPropertyBindingError::description() const A simple example is given in the following. \snippet code/src_corelib_kernel_qproperty.cpp 4 + \snippet code/src_corelib_kernel_qproperty.cpp 4_include_moc + QObjectBindableProperty is usually not used directly, instead an instance of it is created by using the Q_OBJECT_BINDABLE_PROPERTY macro. @@ -1536,6 +1538,7 @@ QString QPropertyBindingError::description() const please explicitly call the specific constructor. \snippet code/src_corelib_kernel_qproperty.cpp 2 + \snippet code/src_corelib_kernel_qproperty.cpp 2_property_use The change handler can optionally accept one argument, of the same type as the property, in which case it is passed the new value of the property. Otherwise, |
