@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface QtPropertyConstant
QtPropertyConstant indicates that the property value is constant.
For a given object instance, the READ method of a constant property
must return the same value every time it is called. This constant value
may be different for different instances of the object.
A constant property cannot have a WRITE method or a NOTIFY signal.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
value
The value should be true or false depending on whether the property is constant property.
-
Element Details
-
value
boolean valueThe value should be true or false depending on whether the property is constant property.- Default:
- true
-