Qt-QPropertyWithoutNotify

Q_PROPERTY should have either NOTIFY or CONSTANT

Required inputs: IR

Objects used in QML (e.g. Qt Quick or Declarative Widgets) need to notify when a property changes. This is also useful when viewing QObject properties in Gammaray.

This rule is based on clazy rule qproperty-without-notify

Possible Messages

Key

Text

Severity

Disabled

qproperty_without_notify

Q_PROPERTY should have either NOTIFY or CONSTANT

None

False

Options

level

level : int = 0

Importance level of the rule as given for clazy. 0 is most desirable, higher values fall off in quality.