QML Debugger: request objects from all contexts

This commit is contained in:
Olivier Goffart
2010-08-20 15:12:29 +02:00
parent 5b4f826552
commit a18c8f9e96
6 changed files with 91 additions and 95 deletions

View File

@@ -66,7 +66,7 @@ public:
// returns the object references for the given url.
QList<QDeclarativeDebugObjectReference> objectReferences(const QUrl &url = QUrl()) const;
QDeclarativeDebugObjectReference objectReferenceForId(int debugId) const;
QDeclarativeDebugObjectReference rootObjectReference() const;
QList<QDeclarativeDebugObjectReference> rootObjectReference() const;
bool isConnected() const;
@@ -77,7 +77,7 @@ public:
Debugger::Internal::QmlAdapter *qmlAdapter() const;
signals:
void objectTreeUpdated(const QDeclarativeDebugObjectReference &rootObject);
void objectTreeUpdated();
void connectionStatusMessage(const QString &text);
void aboutToReloadEngines();
@@ -141,9 +141,9 @@ private:
QDeclarativeDebugEnginesQuery *m_engineQuery;
QDeclarativeDebugRootContextQuery *m_contextQuery;
QDeclarativeDebugObjectQuery *m_objectTreeQuery;
QList<QDeclarativeDebugObjectQuery *> m_objectTreeQuery;
QDeclarativeDebugObjectReference m_rootObject;
QList<QDeclarativeDebugObjectReference> m_rootObjects;
QList<QDeclarativeDebugEngineReference> m_engines;
};