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"
https://www.kdab.com/
GammaRay Qt-application inspection and manipulation tool
https://www.kdab.com/development-resources/qt-tools/gammaray/
Generated on Wed Mar 15 2023 01:05:10 for GammaRay API Documentation by doxygen 1.8.20