GammaRay API Documentation
2.10.0
|
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... | |
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.
void GammaRay::ObjectDataProvider::registerProvider | ( | AbstractObjectDataProvider * | provider | ) |
Register an additional object data provider.
Returns the short type name of obj
.