diff options
author | hjk <hjk@theqtcompany.com> | 2015-09-10 11:01:09 +0200 |
---|---|---|
committer | David Schulz <david.schulz@theqtcompany.com> | 2015-09-11 08:49:42 +0000 |
commit | d15cb20ee2deb48db5718706902c142cea52ccbf (patch) | |
tree | 880f587d339b09218ce66a3e28dfe10518aa2d33 /src/plugins/debugger/qml/qmlcppengine.h | |
parent | 0095953e225519d791c831ae9b0f8523440f221a (diff) | |
download | qt-creator-d15cb20ee2deb48db5718706902c142cea52ccbf.tar.gz |
Debugger: Add 'override' to *Engine classes
Thanks to clang-modernize.
Change-Id: Ie1998c32d492cb458b9b4649c425c0de272ce976
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlcppengine.h')
-rw-r--r-- | src/plugins/debugger/qml/qmlcppengine.h | 134 |
1 files changed, 67 insertions, 67 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.h b/src/plugins/debugger/qml/qmlcppengine.h index 3b2ecc9137..c94023e373 100644 --- a/src/plugins/debugger/qml/qmlcppengine.h +++ b/src/plugins/debugger/qml/qmlcppengine.h @@ -46,93 +46,93 @@ public: QmlCppEngine(const DebuggerRunParameters &sp, QStringList *errors); ~QmlCppEngine(); - bool canDisplayTooltip() const; - bool canHandleToolTip(const DebuggerToolTipContext &) const; - void updateItem(const QByteArray &iname); - void expandItem(const QByteArray &iname); - void selectWatchData(const QByteArray &iname); + bool canDisplayTooltip() const override; + bool canHandleToolTip(const DebuggerToolTipContext &) const override; + void updateItem(const QByteArray &iname) override; + void expandItem(const QByteArray &iname) override; + void selectWatchData(const QByteArray &iname) override; - void watchPoint(const QPoint &); - void fetchMemory(MemoryAgent *, QObject *, quint64 addr, quint64 length); - void fetchDisassembler(DisassemblerAgent *); - void activateFrame(int index); + void watchPoint(const QPoint &) override; + void fetchMemory(MemoryAgent *, QObject *, quint64 addr, quint64 length) override; + void fetchDisassembler(DisassemblerAgent *) override; + void activateFrame(int index) override; - void reloadModules(); - void examineModules(); - void loadSymbols(const QString &moduleName); - void loadAllSymbols(); - void requestModuleSymbols(const QString &moduleName); + void reloadModules() override; + void examineModules() override; + void loadSymbols(const QString &moduleName) override; + void loadAllSymbols() override; + void requestModuleSymbols(const QString &moduleName) override; - void reloadRegisters(); - void reloadSourceFiles(); - void reloadFullStack(); + void reloadRegisters() override; + void reloadSourceFiles() override; + void reloadFullStack() override; - void setRegisterValue(const QByteArray &name, const QString &value); - bool hasCapability(unsigned cap) const; + void setRegisterValue(const QByteArray &name, const QString &value) override; + bool hasCapability(unsigned cap) const override; - bool isSynchronous() const; - QByteArray qtNamespace() const; + bool isSynchronous() const override; + QByteArray qtNamespace() const override; - void createSnapshot(); - void updateAll(); + void createSnapshot() override; + void updateAll() override; - void attemptBreakpointSynchronization(); - bool acceptsBreakpoint(Breakpoint bp) const; - void selectThread(ThreadId threadId); + void attemptBreakpointSynchronization() override; + bool acceptsBreakpoint(Breakpoint bp) const override; + void selectThread(ThreadId threadId) override; void assignValueInDebugger(WatchItem *item, - const QString &expr, const QVariant &value); + const QString &expr, const QVariant &value) override; - DebuggerEngine *cppEngine() { return m_cppEngine; } + DebuggerEngine *cppEngine() override { return m_cppEngine; } DebuggerEngine *qmlEngine() const; - void notifyEngineRemoteSetupFinished(const RemoteSetupResult &result); + void notifyEngineRemoteSetupFinished(const RemoteSetupResult &result) override; void showMessage(const QString &msg, int channel = LogDebug, - int timeout = -1) const; - void resetLocation(); + int timeout = -1) const override; + void resetLocation() override; - void notifyInferiorIll(); + void notifyInferiorIll() override; protected: - void detachDebugger(); - void reloadDebuggingHelpers(); - void debugLastCommand(); - void executeStep(); - void executeStepOut(); - void executeNext(); - void executeStepI(); - void executeNextI(); - void executeReturn(); - void continueInferior(); - void interruptInferior(); - void requestInterruptInferior(); - - void executeRunToLine(const ContextData &data); - void executeRunToFunction(const QString &functionName); - void executeJumpToLine(const ContextData &data); - void executeDebuggerCommand(const QString &command, DebuggerLanguages languages); - - void setupEngine(); - void setupInferior(); - void runEngine(); - void shutdownInferior(); - void shutdownEngine(); - void quitDebugger(); - void abortDebugger(); - - void notifyInferiorRunOk(); - void notifyInferiorSpontaneousStop(); - void notifyEngineRunAndInferiorRunOk(); - void notifyInferiorShutdownOk(); - - void notifyInferiorSetupOk(); - void notifyEngineRemoteServerRunning(const QByteArray &, int pid); + void detachDebugger() override; + void reloadDebuggingHelpers() override; + void debugLastCommand() override; + void executeStep() override; + void executeStepOut() override; + void executeNext() override; + void executeStepI() override; + void executeNextI() override; + void executeReturn() override; + void continueInferior() override; + void interruptInferior() override; + void requestInterruptInferior() override; + + void executeRunToLine(const ContextData &data) override; + void executeRunToFunction(const QString &functionName) override; + void executeJumpToLine(const ContextData &data) override; + void executeDebuggerCommand(const QString &command, DebuggerLanguages languages) override; + + void setupEngine() override; + void setupInferior() override; + void runEngine() override; + void shutdownInferior() override; + void shutdownEngine() override; + void quitDebugger() override; + void abortDebugger() override; + + void notifyInferiorRunOk() override; + void notifyInferiorSpontaneousStop() override; + void notifyEngineRunAndInferiorRunOk() override; + void notifyInferiorShutdownOk() override; + + void notifyInferiorSetupOk() override; + void notifyEngineRemoteServerRunning(const QByteArray &, int pid) override; private: void engineStateChanged(DebuggerState newState); - void setState(DebuggerState newState, bool forced = false); - void slaveEngineStateChanged(DebuggerEngine *slaveEngine, DebuggerState state); + void setState(DebuggerState newState, bool forced = false) override; + void slaveEngineStateChanged(DebuggerEngine *slaveEngine, DebuggerState state) override; void setActiveEngine(DebuggerEngine *engine); |