diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-04-12 15:51:56 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2012-04-16 16:55:47 +0200 |
commit | 04ef3766372a0b9a309c38aefdcbb8ac4e77c1fa (patch) | |
tree | ebdcfe597eb93e366225ee08768965920665bf0b /src/plugins/qmljseditor/qmljssemanticinfoupdater.h | |
parent | ae394dfb2094f682962748720f4405ba07403734 (diff) | |
download | qt-creator-04ef3766372a0b9a309c38aefdcbb8ac4e77c1fa.tar.gz |
QmlJS: Move SemanticInfo from qmljseditor to qmljstools
This will allow us to remove the qmljsinspector->qmljseditor
dependency.
Change-Id: I234cf8645edb614e8b1f559a0f9bb6d43e2254c3
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Diffstat (limited to 'src/plugins/qmljseditor/qmljssemanticinfoupdater.h')
-rw-r--r-- | src/plugins/qmljseditor/qmljssemanticinfoupdater.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/qmljseditor/qmljssemanticinfoupdater.h b/src/plugins/qmljseditor/qmljssemanticinfoupdater.h index 0237e1ca86..e2003f4684 100644 --- a/src/plugins/qmljseditor/qmljssemanticinfoupdater.h +++ b/src/plugins/qmljseditor/qmljssemanticinfoupdater.h @@ -56,13 +56,14 @@ public: void reupdate(const QmlJS::Snapshot &snapshot); Q_SIGNALS: - void updated(const QmlJSEditor::SemanticInfo &semanticInfo); + void updated(const QmlJSTools::SemanticInfo &semanticInfo); protected: virtual void run(); private: - SemanticInfo makeNewSemanticInfo(const QmlJS::Document::Ptr &doc, const QmlJS::Snapshot &snapshot); + QmlJSTools::SemanticInfo makeNewSemanticInfo(const QmlJS::Document::Ptr &doc, + const QmlJS::Snapshot &snapshot); private: QMutex m_mutex; @@ -70,7 +71,7 @@ private: bool m_wasCancelled; QmlJS::Document::Ptr m_sourceDocument; QmlJS::Snapshot m_sourceSnapshot; - SemanticInfo m_lastSemanticInfo; + QmlJSTools::SemanticInfo m_lastSemanticInfo; }; } // namespace Internal |