Skip to content

Commit

Permalink
add "override"
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Nov 24, 2023
1 parent 33b52e9 commit 5df6f89
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/project_manager/ros_project_wizard.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ROSImportWizardPage : public Utils::WizardPage
explicit ROSImportWizardPage(QWidget *parent = 0);
~ROSImportWizardPage();

bool isComplete() const;
bool isComplete() const override;

bool forceFirstCapitalLetterForFileName() const;
void setForceFirstCapitalLetterForFileName(bool b);
Expand Down
2 changes: 1 addition & 1 deletion src/project_manager/ros_run_step.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RunStep : public ProjectExplorer::ProjectConfiguration

virtual bool immutable() const;
virtual bool runInGuiThread() const;
virtual void cancel();
virtual void cancel() override;

void fromMap(const Utils::Store &map) override;
void toMap(Utils::Store &map) const override;
Expand Down
4 changes: 2 additions & 2 deletions src/project_manager/ros_run_steps_page.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class ToolWidget : public Utils::FadingPanel
public:
ToolWidget(QWidget *parent = 0);

void fadeTo(qreal value);
void setOpacity(qreal value);
void fadeTo(qreal value) override;
void setOpacity(qreal value) override;

void setRunStepEnabled(bool b);
void setUpEnabled(bool b);
Expand Down
6 changes: 3 additions & 3 deletions src/project_manager/ros_settings_page.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ class ROSSettingsPage : public Core::IOptionsPage
explicit ROSSettingsPage(QSharedPointer<ROSSettings> &settings,
QObject *parent = nullptr);

QWidget *widget();
void apply();
void finish();
QWidget *widget() override;
void apply() override;
void finish() override;

private:
const QSharedPointer<ROSSettings> m_settings;
Expand Down

0 comments on commit 5df6f89

Please sign in to comment.