debugger: prepare qmlcppengine state fix

This commit is contained in:
hjk
2011-01-12 15:11:12 +01:00
parent 83fa3ce320
commit 6834c45651
2 changed files with 14 additions and 70 deletions

View File

@@ -5,10 +5,6 @@
#include <QtCore/QScopedPointer>
namespace Core {
class IEditor;
}
namespace Debugger {
namespace Internal {
@@ -17,12 +13,11 @@ class QmlCppEnginePrivate;
class DEBUGGER_EXPORT QmlCppEngine : public DebuggerEngine
{
Q_OBJECT
public:
explicit QmlCppEngine(const DebuggerStartParameters &sp);
virtual ~QmlCppEngine();
void setActiveEngine(DebuggerLanguage language);
virtual void setToolTipExpression(const QPoint &mousePos,
TextEditor::ITextEditor * editor, int cursorPos);
virtual void updateWatchData(const WatchData &data,
@@ -94,15 +89,13 @@ protected:
virtual void shutdownEngine();
private slots:
void cppEngineStateChanged(const DebuggerState &state);
void qmlEngineStateChanged(const DebuggerState &state);
void slaveEngineStateChanged(DebuggerState state);
void setupSlaveEngine();
void editorChanged(Core::IEditor *editor);
private:
void initEngineShutdown();
bool checkErrorState(const DebuggerState stateToCheck);
void engineStateChanged(const DebuggerState &newState);
bool checkErrorState(DebuggerState stateToCheck);
void engineStateChanged(DebuggerState newState);
private:
QScopedPointer<QmlCppEnginePrivate> d;