GammaRay
2.3.0
|
Template-ed implementation of MetaProperty for static properties. More...
#include <metaproperty.h>
Public Member Functions | |
MetaStaticPropertyImpl (const QString &name, GetterReturnType(*getter)()) | |
bool | isReadOnly () const |
Returns true if this property is read-only. | |
QString | typeName () const |
Returns the name of the data type of this property. | |
QVariant | value (void *object) const |
Current value of the property for object object . | |
Public Member Functions inherited from GammaRay::MetaProperty | |
MetaProperty (const QString &name) | |
MetaObject * | metaObject () const |
Returns the class this property belongs to. | |
QString | 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 . | |
Template-ed implementation of MetaProperty for static properties.