forked from qt-creator/qt-creator
ProjectExplorer: Sprinkle overrides over the code
Sprinkle overrides over code derived from classes in ProjectExplorer Change-Id: Ia4cc25649f7dc00b0ea126d8176a59afbc5ed574 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -42,22 +42,22 @@ class QmlProfilerRunControl : public Analyzer::AnalyzerRunControl
|
||||
public:
|
||||
QmlProfilerRunControl(ProjectExplorer::RunConfiguration *runConfiguration,
|
||||
Internal::QmlProfilerTool *tool);
|
||||
~QmlProfilerRunControl();
|
||||
~QmlProfilerRunControl() override;
|
||||
|
||||
void registerProfilerStateManager( QmlProfilerStateManager *profilerState );
|
||||
|
||||
void notifyRemoteSetupDone(quint16 port);
|
||||
StopResult stop();
|
||||
void notifyRemoteSetupDone(quint16 port) override;
|
||||
StopResult stop() override;
|
||||
|
||||
signals:
|
||||
void processRunning(quint16 port);
|
||||
|
||||
public slots:
|
||||
bool startEngine();
|
||||
void stopEngine();
|
||||
bool startEngine() override;
|
||||
void stopEngine() override;
|
||||
void cancelProcess();
|
||||
void notifyRemoteFinished();
|
||||
void logApplicationMessage(const QString &msg, Utils::OutputFormat format);
|
||||
void notifyRemoteFinished() override;
|
||||
void logApplicationMessage(const QString &msg, Utils::OutputFormat format) override;
|
||||
|
||||
private slots:
|
||||
void wrongSetupMessageBox(const QString &errorMessage);
|
||||
|
||||
@@ -40,14 +40,13 @@ public:
|
||||
explicit QmlProfilerRunControlFactory(QObject *parent = 0);
|
||||
|
||||
// IRunControlFactory implementation
|
||||
bool canRun(RunConfiguration *runConfiguration, Core::Id mode) const;
|
||||
bool canRun(RunConfiguration *runConfiguration, Core::Id mode) const override;
|
||||
|
||||
ProjectExplorer::RunControl *create(RunConfiguration *runConfiguration,
|
||||
Core::Id mode,
|
||||
QString *errorMessage);
|
||||
ProjectExplorer::RunControl *create(RunConfiguration *runConfiguration, Core::Id mode,
|
||||
QString *errorMessage) override;
|
||||
|
||||
ProjectExplorer::IRunConfigurationAspect *createRunConfigurationAspect(
|
||||
ProjectExplorer::RunConfiguration *rc);
|
||||
ProjectExplorer::RunConfiguration *rc) override;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user