Property Class
(Qul::Property)Header: | #include <Property> |
Inherits: | Qul::Private::PropertyBase |
Public Functions
Property() | |
Property(const T &value) | |
void | setValue(const T &v) |
const T & | value() |
const T & | value() const |
- 6 public functions inherited from Qul::Private::PropertyBase
Additional Inherited Members
- 5 protected functions inherited from Qul::Private::PropertyBase
Detailed Description
The Property class can be used to hold a property of a given type. Property can be assigned to a binding or to a value. When assigned to a binding, the value of the property can be automatically updated if the binding has been using other properties.
Member Function Documentation
Property::Property()
Create a property holding zero-initialized value
Property::Property(const T &value)
Create a property initialized with the given value
void Property::setValue(const T &v)
Set the value for this binding
See also value().
const T &Property::value()
Get the value of this property
See also setValue().
const T &Property::value() const
This is an overloaded function.