summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qproperty.cpp
diff options
context:
space:
mode:
authorOleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io>2025-07-18 12:36:53 +0200
committerOleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io>2025-07-24 18:52:41 +0200
commitd9251a64367e15f234718d9b3ed88d2f7bcfd0c6 (patch)
treeb1920d2016ac5862a534a6b96bab8711e50f0ded /src/corelib/kernel/qproperty.cpp
parent70cc4a7dc1620f09d2b377405c29c5ed6167b8a1 (diff)
Fix files under src_corelib_kernel prefix
Fixed each file and added to the build system. Also updated docs. Task-number: QTBUG-137566 Change-Id: I8e75b9b089167c427bab236c4792fd1056432be9 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qproperty.cpp')
-rw-r--r--src/corelib/kernel/qproperty.cpp3
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,