GammaRay API Documentation
3.2.0
|
Base class for custom object data providers. More...
#include <objectdataprovider.h>
Public Member Functions | |
virtual SourceLocation | creationLocation (const QObject *obj) const =0 |
Returns the source location where obj has been created. | |
virtual SourceLocation | declarationLocation (const QObject *obj) const =0 |
Returns the source location where the type of obj has been declared. | |
virtual QString | name (const QObject *obj) const =0 |
Returns a name or identifier for obj . | |
virtual QString | shortTypeName (const QObject *obj) const =0 |
Returns a shortened type name (e.g. More... | |
virtual QString | typeName (const QObject *obj) const =0 |
Returns the full name of the type of obj . | |
Base class for custom object data providers.
Inherit from this and register at ObjectDataProvider, to support basic QObject information retrieval from dynamic language bindings, such as QML.
|
pure virtual |
Returns a shortened type name (e.g.
excluding namespaces) for obj
.