GammaRay API Documentation  2.7.0
Functions
GammaRay::ObjectDataProvider Namespace Reference

Retrieve basic information about QObject instances. More...

Functions

SourceLocation creationLocation (QObject *obj)
 
SourceLocation declarationLocation (QObject *obj)
 
QString name (const QObject *obj)
 
void registerProvider (AbstractObjectDataProvider *provider)
 
QString typeName (QObject *obj)
 

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.

QString GammaRay::ObjectDataProvider::name ( const QObject obj)

Returns the object name, considering possibly available information from dynamic language runtimes, such as QML ids.

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/