GammaRay API Documentation  2.11.3
Public Member Functions | List of all members
GammaRay::MetaProperty Class Referenceabstract

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.
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.

© 2010-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
GammaRay Qt-application inspection and manipulation tool
Generated on Tue Dec 7 2021 02:34:36 for GammaRay API Documentation by doxygen 1.8.17