|
GammaRay
2.1.0
|
Template-ed implementation of MetaProperty. More...
#include <metaproperty.h>

Public Member Functions | |
| MetaPropertyImpl (const QString &name, ValueType(Class::*getter)() const, void(Class::*setter)(SetterArgType)=0) | |
| bool | isReadOnly () const |
Returns true if this property is read-only. | |
| QString | name () const |
| User-readable name of that property. | |
| void | setValue (void *object, const QVariant &value) |
Allows changing the property value, assuming it's not read-only, for the instance object. | |
| QVariant | value (void *object) const |
Current value of the property for object object. | |
Public Member Functions inherited from GammaRay::MetaProperty | |
| MetaObject * | metaObject () const |
| Returns the class this property belongs to. | |
Template-ed implementation of MetaProperty.
GammaRay