From 08ace69f0e9d89d8dd758207ed1804f7e4468936 Mon Sep 17 00:00:00 2001 From: Juha Vuolle Date: Sat, 13 Feb 2021 20:18:00 +0200 Subject: Fix minor documentation typos in bindable properties Change-Id: I4f8474820db613a675950a858438337558f1c88f Reviewed-by: Ivan Solovev Reviewed-by: Sona Kurazyan --- src/corelib/doc/src/objectmodel/bindableproperties.qdoc | 2 +- src/corelib/kernel/qproperty.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/corelib/doc/src/objectmodel/bindableproperties.qdoc b/src/corelib/doc/src/objectmodel/bindableproperties.qdoc index cae55f73b5..f0f16aeafe 100644 --- a/src/corelib/doc/src/objectmodel/bindableproperties.qdoc +++ b/src/corelib/doc/src/objectmodel/bindableproperties.qdoc @@ -40,7 +40,7 @@ updated automatically whenever their dependencies change. Bindable properties are implemented in the class QProperty, which - consists the data object and a pointer to a management data structure, and + consists of the data object and a pointer to a management data structure, and in class QObjectBindableProperty, which consists only of the data object and uses the encapsulating QObject to store the pointer to the management data structure. diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp index fbe582304b..b017bb3230 100644 --- a/src/corelib/kernel/qproperty.cpp +++ b/src/corelib/kernel/qproperty.cpp @@ -1143,7 +1143,7 @@ QString QPropertyBindingError::description() const \snippet code/src_corelib_kernel_qproperty.cpp 2 If the property does not need a changed notification, you can leave out the - "NOFITY xChanged" in the Q_PROPERTY macro as well as the last argument + "NOTIFY xChanged" in the Q_PROPERTY macro as well as the last argument of the Q_OBJECT_BINDABLE_PROPERTY and Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS macros. */ -- cgit v1.2.3