Debugger: Engines Queried on Reload of Qml.

Change-Id: I75de9fa584af8eb22a3eac6b0ab9d30b87d2ed69
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Simjees Abraham
2012-05-25 09:58:52 +02:00
committed by Aurindam Jana
parent bd5fe5243b
commit e4677d5a91
2 changed files with 2 additions and 1 deletions

View File

@@ -593,6 +593,7 @@ void QmlInspectorAdapter::onReloaded()
QmlJS::Document::Ptr doc = snapshot.document(it.key());
it.value()->resetInitialDoc(doc);
}
m_agent->reloadEngines();
}
void QmlInspectorAdapter::onDestroyedObject(int objectDebugId)

View File

@@ -90,6 +90,7 @@ public:
void setEngineClient(QmlDebug::BaseEngineDebugClient *client);
QString displayName(int objectDebugId) const;
int parentIdForObject(int objectDebugId);
void reloadEngines();
public slots:
void fetchContextObjectsForLocation(const QString &file,
@@ -110,7 +111,6 @@ private slots:
void onValueChanged(int debugId, const QByteArray &propertyName, const QVariant &value);
private:
void reloadEngines();
void fetchObjectsInContextRecursive(const QmlDebug::ContextReference &context);
void objectTreeFetched(const QmlDebug::ObjectReference &result);