QmlJSInspector: Remove dependency on QmlJSTools

As Location information is already cached, there is no
need to fetch the information from the QmlJS Semantic info.

Task-number: QTCREATORBUG-7409
Change-Id: I9cc3dce0910632cfe517f7697d74691e6675793b
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Aurindam Jana
2012-05-25 17:43:56 +02:00
parent 012281cdf8
commit 799fc18bd7
8 changed files with 64 additions and 76 deletions

View File

@@ -48,6 +48,7 @@ namespace QmlDebug {
class BaseEngineDebugClient;
class BaseToolsClient;
class ObjectReference;
class FileReference;
}
namespace Debugger {
@@ -106,9 +107,7 @@ private:
void initializePreviews();
void showConnectionStatusMessage(const QString &message);
void gotoObjectReferenceDefinition(const QmlDebug::ObjectReference &obj);
int objectIdForLocation(
const QString &fileName, int cursorPosition = -1) const;
void gotoObjectReferenceDefinition(const QmlDebug::FileReference &objSource);
enum SelectionTarget { NoTarget, ToolTarget, EditorTarget };
void selectObject(