GammaRay API Documentaion
2.6.0
|
Template-ed implementation of MetaProperty for member properties. More...
#include <metaproperty.h>
Public Member Functions | |
MetaPropertyImpl (const char *name, GetterReturnType(Class::*getter)() const, void(Class::*setter)(SetterArgType)=0) | |
bool | isReadOnly () const override |
Returns true if this property is read-only. | |
void | setValue (void *object, const QVariant &value) override |
Allows changing the property value, assuming it's not read-only, for the instance object . | |
const char * | typeName () const override |
Returns the name of the data type of this property. | |
QVariant | value (void *object) const override |
Current value of the property for object object . | |
Public Member Functions inherited from GammaRay::MetaProperty | |
MetaProperty (const char *name) | |
MetaObject * | metaObject () const |
Returns the class this property belongs to. | |
const char * | name () const |
User-readable name of that property. | |
Template-ed implementation of MetaProperty for member properties.