QmlDebug: Renaming

Move Status enum out of QmlDebugClient and drop "QmlDebug"
prefix for the different 'Reference' structs. Allows to
avoid 'using namespace in QmlDebug' in header files.

Change-Id: Id9857977300e86d637cf128ff3417d8b24c8e995
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Kai Koehne
2012-05-10 10:29:11 +02:00
parent e9277df87b
commit b2a2a7cc18
28 changed files with 296 additions and 296 deletions

View File

@@ -39,17 +39,17 @@ BaseToolsClient::BaseToolsClient(QmlDebugConnection* client, QLatin1String clien
setObjectName(clientName);
}
void BaseToolsClient::statusChanged(Status status)
void BaseToolsClient::statusChanged(ClientStatus status)
{
emit connectedStatusChanged(status);
}
void BaseToolsClient::recurseObjectIdList(const QmlDebugObjectReference &ref,
void BaseToolsClient::recurseObjectIdList(const ObjectReference &ref,
QList<int> &debugIds, QList<QString> &objectIds)
{
debugIds << ref.debugId();
objectIds << ref.idString();
foreach (const QmlDebugObjectReference &child, ref.children())
foreach (const ObjectReference &child, ref.children())
recurseObjectIdList(child, debugIds, objectIds);
}