forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user