ScriptConsole: Refactor to QtMessageLogWindow

Move QML/JS independent classes to common Debugger
code. A Debugger Engine needs to override
evaluateScriptExpression() to provide engine
specific script evaluation.

Change-Id: I02b23b380a3eb1b12003b30ded0b7d075e44dfed
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Aurindam Jana
2012-02-15 12:35:43 +01:00
committed by hjk
parent a8ab1fd70f
commit 147396d764
31 changed files with 1123 additions and 1597 deletions

View File

@@ -96,6 +96,8 @@ public:
int timeout = -1) const;
void resetLocation();
Internal::QtMessageLogHandler *qtMessageLogHandler() const;
protected:
void detachDebugger();
void executeStep();
@@ -112,6 +114,7 @@ protected:
void executeRunToFunction(const QString &functionName);
void executeJumpToLine(const ContextData &data);
void executeDebuggerCommand(const QString &command);
bool evaluateScriptExpression(const QString &expression);
void setupEngine();
void setupInferior();