Commit 7bd350fe authored by Kai Koehne's avatar Kai Koehne

QmlDebug: Rename signal

Rename signal connectedStatusChanged() to newStatus(). We're using
newStatus also for the EngineDebugClients.

Change-Id: Ic793b4b74e629b602b9467f3abc8127c9c0174d5
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 13d36b2a
......@@ -41,7 +41,7 @@ BaseToolsClient::BaseToolsClient(QmlDebugConnection* client, QLatin1String clien
void BaseToolsClient::statusChanged(ClientStatus status)
{
emit connectedStatusChanged(status);
emit newStatus(status);
}
void BaseToolsClient::recurseObjectIdList(const ObjectReference &ref,
......
......@@ -71,7 +71,7 @@ public:
virtual void clearComponentCache() = 0;
signals:
void connectedStatusChanged(QmlDebug::ClientStatus status);
void newStatus(QmlDebug::ClientStatus status);
void currentObjectsChanged(const QList<int> &debugIds);
void selectToolActivated();
......
......@@ -127,15 +127,15 @@ QmlInspectorAdapter::QmlInspectorAdapter(QmlAdapter *debugAdapter,
setActiveEngineClient(engineClient2);
DeclarativeToolsClient *toolsClient1 = new DeclarativeToolsClient(connection);
connect(toolsClient1, SIGNAL(connectedStatusChanged(QmlDebug::ClientStatus)),
connect(toolsClient1, SIGNAL(newStatus(QmlDebug::ClientStatus)),
this, SLOT(clientStatusChanged(QmlDebug::ClientStatus)));
connect(toolsClient1, SIGNAL(connectedStatusChanged(QmlDebug::ClientStatus)),
connect(toolsClient1, SIGNAL(newStatus(QmlDebug::ClientStatus)),
this, SLOT(toolsClientStatusChanged(QmlDebug::ClientStatus)));
QmlToolsClient *toolsClient2 = new QmlToolsClient(connection);
connect(toolsClient2, SIGNAL(connectedStatusChanged(QmlDebug::ClientStatus)),
connect(toolsClient2, SIGNAL(newStatus(QmlDebug::ClientStatus)),
this, SLOT(clientStatusChanged(QmlDebug::ClientStatus)));
connect(toolsClient2, SIGNAL(connectedStatusChanged(QmlDebug::ClientStatus)),
connect(toolsClient2, SIGNAL(newStatus(QmlDebug::ClientStatus)),
this, SLOT(toolsClientStatusChanged(QmlDebug::ClientStatus)));
// toolbar
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment