GammaRay API Documentaion  2.5.0
Public Member Functions | List of all members
GammaRay::MetaProperty Class Referenceabstract

Introspectable adaptor to non-QObject properties. More...

#include <metaproperty.h>

Inheritance diagram for GammaRay::MetaProperty:
Inheritance graph

Public Member Functions

 MetaProperty (const char *name)
virtual bool isReadOnly () const =0
 Returns true if this property is read-only.
MetaObjectmetaObject () 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.

Detailed Description

Introspectable adaptor to non-QObject properties.

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
Qt-application inspection and manipulation tool