diff options
author | Aurindam Jana <aurindam.jana@nokia.com> | 2012-04-24 12:23:54 +0200 |
---|---|---|
committer | Aurindam Jana <aurindam.jana@nokia.com> | 2012-04-26 15:52:34 +0200 |
commit | e9df42223cb57bff1370ad817cc13942daf0c1c7 (patch) | |
tree | 9328d477cb59b844e24efc46817bc0e9f7203901 /src/plugins/qmljsinspector/qmljsclientproxy.h | |
parent | f4514a2f5c2406dd358969da0a8084876b9d5dcb (diff) | |
download | qt-creator-e9df42223cb57bff1370ad817cc13942daf0c1c7.tar.gz |
QmlJSInspector: Add QmlToolsClient for QmlInspector Service
QmlInspector Service replaces the QDeclarativeObserverMode
service in Qt5. This patch adds a new client for the service.
Change-Id: Id79c378cfd88042fdf264cd7416a213a139e618c
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/qmljsinspector/qmljsclientproxy.h')
-rw-r--r-- | src/plugins/qmljsinspector/qmljsclientproxy.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.h b/src/plugins/qmljsinspector/qmljsclientproxy.h index 3869b5d2d9..727961ea05 100644 --- a/src/plugins/qmljsinspector/qmljsclientproxy.h +++ b/src/plugins/qmljsinspector/qmljsclientproxy.h @@ -53,7 +53,7 @@ QHash<QPair<QString, int>, QHash<QPair<int, int>, QList<int> > > DebugIdHash; namespace Internal { class InspectorPlugin; -class QmlToolsClient; +class BaseToolsClient; class ClientProxy : public QObject @@ -107,7 +107,8 @@ public: void fetchRootObjects(const QmlDebugContextReference &context, bool clear); void insertObjectInTreeIfNeeded(const QmlDebugObjectReference &object); - QmlDebugClient *inspectorClient() const; + QmlDebugClient *engineDebugClient() const; + QmlDebugClient *toolsClient() const; signals: void objectTreeUpdated(); @@ -158,6 +159,7 @@ private slots: void connectToServer(); void clientStatusChanged(QmlDebugClient::Status status); void engineClientStatusChanged(QmlDebugClient::Status status); + void toolsClientStatusChanged(QmlDebugClient::Status status); void onCurrentObjectsChanged(const QList<int> &debugIds, bool requestIfNeeded = true); @@ -194,7 +196,7 @@ private: QWeakPointer<Debugger::QmlAdapter> m_adapter; BaseEngineDebugClient *m_engineClient; - QmlToolsClient *m_inspectorHelperClient; + BaseToolsClient *m_inspectorHelperClient; quint32 m_engineQueryId; quint32 m_contextQueryId; |