GammaRay API Documentation
2.7.0
|
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) |
Retrieve basic information about QObject instances.
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.
Returns the object name, considering possibly available information from dynamic language runtimes, such as QML ids.