GammaRay API Documentation
3.2.0
|
Introspectable adaptor to non-QObject properties. More...
#include <metaproperty.h>
Public Member Functions | |
MetaProperty (const char *name) | |
Create a new MetaProperty instance for a property named name . | |
virtual bool | isReadOnly () const =0 |
Returns true if this property is read-only. | |
MetaObject * | metaObject () const |
Returns the class this property belongs to. | |
const char * | name () const |
User-readable name of that property. | |
virtual void | setValue (void *object, const QVariant &value) |
Allows changing the property value, assuming it's not read-only, for the instance object . | |
virtual const char * | typeName () const =0 |
Returns the name of the data type of this property. | |
virtual QVariant | value (void *object) const =0 |
Current value of the property for object object . | |
Introspectable adaptor to non-QObject properties.