forked from qt-creator/qt-creator
QmlJSInspector: New Objects created
Send the engineid, objectid and parentid. Change-Id: I7b340c1f20ba3eb3f1690d45b28819f6efaae013 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -345,8 +345,8 @@ void QmlInspectorAgent::setEngineClient(BaseEngineDebugClient *client)
|
||||
this, SLOT(updateStatus()));
|
||||
disconnect(m_engineClient, SIGNAL(result(quint32,QVariant,QByteArray)),
|
||||
this, SLOT(onResult(quint32,QVariant,QByteArray)));
|
||||
disconnect(m_engineClient, SIGNAL(newObjects()),
|
||||
this, SLOT(newObjects()));
|
||||
disconnect(m_engineClient, SIGNAL(newObject(int,int,int)),
|
||||
this, SLOT(newObject(int,int,int)));
|
||||
}
|
||||
|
||||
m_engineClient = client;
|
||||
@@ -356,8 +356,8 @@ void QmlInspectorAgent::setEngineClient(BaseEngineDebugClient *client)
|
||||
this, SLOT(updateStatus()));
|
||||
connect(m_engineClient, SIGNAL(result(quint32,QVariant,QByteArray)),
|
||||
this, SLOT(onResult(quint32,QVariant,QByteArray)));
|
||||
connect(m_engineClient, SIGNAL(newObjects()),
|
||||
this, SLOT(newObjects()));
|
||||
connect(m_engineClient, SIGNAL(newObject(int,int,int)),
|
||||
this, SLOT(newObject(int,int,int)));
|
||||
}
|
||||
|
||||
updateStatus();
|
||||
@@ -425,7 +425,7 @@ void QmlInspectorAgent::onResult(quint32 queryId, const QVariant &value,
|
||||
|
||||
}
|
||||
|
||||
void QmlInspectorAgent::newObjects()
|
||||
void QmlInspectorAgent::newObject(int /*engineId*/, int /*objectId*/, int /*parentId*/)
|
||||
{
|
||||
if (debug)
|
||||
qDebug() << __FUNCTION__ << "()";
|
||||
|
||||
Reference in New Issue
Block a user