GammaRay API Documentation
2.8.1
|
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 | shortTypeName (QObject *obj) |
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.
Returns the short type name of obj
.