Doc: be more explicit about when a MEMBER property NOTIFY signal is emitted automatically
Change-Id: Ied5eb0c218d11872fbf590d735a88a11b5cd1c3e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
999654fec7
commit
434595865b
@ -82,8 +82,9 @@
|
||||
which must be of the same type as the property. The parameter will take the
|
||||
new value of the property. The \c NOTIFY signal should only be emitted when
|
||||
the property has really been changed, to avoid bindings being unnecessarily
|
||||
re-evaluated in QML, for example. Qt emits automatically that signal when
|
||||
needed for MEMBER properties that do not have an explicit setter.
|
||||
re-evaluated in QML, for example. The signal is emitted automatically when
|
||||
the property is changed via the Qt API (QObject::setProperty,
|
||||
QMetaProperty, etc.), but not when the MEMBER is changed directly.
|
||||
|
||||
\li A \c REVISION number or \c REVISION() macro is optional. If included,
|
||||
it defines the property and its notifier signal to be used in a particular
|
||||
|
Loading…
Reference in New Issue
Block a user