GammaRay API Documentation  2.10.0
Functions
GammaRay::ObjectDataProvider Namespace Reference

Retrieve basic information about QObject instances. More...

Functions

SourceLocation creationLocation (QObject *obj)
 Returns the source location where this object was created, if known. More...
 
SourceLocation declarationLocation (QObject *obj)
 Returns the source location where the type of this object was declared, if known. More...
 
QString name (const QObject *obj)
 Returns the object name, considering possibly available information from dynamic language runtimes, such as QML ids.
 
void registerProvider (AbstractObjectDataProvider *provider)
 Register an additional object data provider. More...
 
QString shortTypeName (QObject *obj)
 Returns the short type name of obj. More...
 
QString typeName (QObject *obj)
 Returns the type name of obj. More...
 

Detailed Description

Retrieve basic information about QObject instances.

Function Documentation

SourceLocation GammaRay::ObjectDataProvider::creationLocation ( QObject obj)

Returns the source location where this object was created, if known.

SourceLocation GammaRay::ObjectDataProvider::declarationLocation ( QObject obj)

Returns the source location where the type of this object was declared, if known.

void GammaRay::ObjectDataProvider::registerProvider ( AbstractObjectDataProvider provider)

Register an additional object data provider.

QString GammaRay::ObjectDataProvider::shortTypeName ( QObject obj)

Returns the short type name of obj.

QString GammaRay::ObjectDataProvider::typeName ( QObject obj)

Returns the type name of obj.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
https://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
https://www.kdab.com/gammaray/