Commit 19ee4144 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

KitConfigWidgets: Use override



Use override on all virtual methods implemented by classes derived
from KitConfigWidget.

Change-Id: I050a9dbfd79b3ebe73af712b71d855a85f332928
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent a841dceb
......@@ -48,16 +48,16 @@ class AndroidGdbServerKitInformationWidget : public ProjectExplorer::KitConfigWi
public:
AndroidGdbServerKitInformationWidget(ProjectExplorer::Kit *kit,
const ProjectExplorer::KitInformation *ki);
~AndroidGdbServerKitInformationWidget();
~AndroidGdbServerKitInformationWidget() override;
QString displayName() const;
QString toolTip() const;
void makeReadOnly();
void refresh();
bool visibleInKit();
QString displayName() const override;
QString toolTip() const override;
void makeReadOnly() override;
void refresh() override;
bool visibleInKit() override;
QWidget *mainWidget() const;
QWidget *buttonWidget() const;
QWidget *mainWidget() const override;
QWidget *buttonWidget() const override;
private slots:
void autoDetectDebugger();
......
......@@ -51,7 +51,7 @@ class CMakeKitConfigWidget : public ProjectExplorer::KitConfigWidget
Q_OBJECT
public:
CMakeKitConfigWidget(ProjectExplorer::Kit *kit, const ProjectExplorer::KitInformation *ki);
virtual ~CMakeKitConfigWidget();
~CMakeKitConfigWidget() override;
// KitConfigWidget interface
QString displayName() const override;
......
......@@ -61,14 +61,14 @@ class DebuggerKitConfigWidget : public ProjectExplorer::KitConfigWidget
public:
DebuggerKitConfigWidget(ProjectExplorer::Kit *workingCopy,
const ProjectExplorer::KitInformation *ki);
~DebuggerKitConfigWidget();
~DebuggerKitConfigWidget() override;
QString displayName() const;
QString toolTip() const;
void makeReadOnly();
void refresh();
QWidget *buttonWidget() const;
QWidget *mainWidget() const;
QString displayName() const override;
QString toolTip() const override;
void makeReadOnly() override;
void refresh() override;
QWidget *buttonWidget() const override;
QWidget *mainWidget() const override;
private:
void manageDebuggers();
......
......@@ -63,16 +63,16 @@ class SysRootInformationConfigWidget : public KitConfigWidget
public:
SysRootInformationConfigWidget(Kit *k, const KitInformation *ki);
~SysRootInformationConfigWidget();
~SysRootInformationConfigWidget() override;
QString displayName() const;
void refresh();
void makeReadOnly();
QWidget *buttonWidget() const;
QWidget *mainWidget() const;
QString toolTip() const;
QString displayName() const override;
void refresh() override;
void makeReadOnly() override;
QWidget *buttonWidget() const override;
QWidget *mainWidget() const override;
QString toolTip() const override;
void setPalette(const QPalette &p);
void setPalette(const QPalette &p) override;
private:
void pathWasChanged();
......@@ -91,14 +91,14 @@ class ToolChainInformationConfigWidget : public KitConfigWidget
public:
ToolChainInformationConfigWidget(Kit *k, const KitInformation *ki);
~ToolChainInformationConfigWidget();
~ToolChainInformationConfigWidget() override;
QString displayName() const;
void refresh();
void makeReadOnly();
QWidget *mainWidget() const;
QWidget *buttonWidget() const;
QString toolTip() const;
QString displayName() const override;
void refresh() override;
void makeReadOnly() override;
QWidget *mainWidget() const override;
QWidget *buttonWidget() const override;
QString toolTip() const override;
private:
void manageToolChains();
......@@ -122,13 +122,13 @@ class DeviceTypeInformationConfigWidget : public KitConfigWidget
public:
DeviceTypeInformationConfigWidget(Kit *workingCopy, const KitInformation *ki);
~DeviceTypeInformationConfigWidget();
~DeviceTypeInformationConfigWidget() override;
QWidget *mainWidget() const;
QString displayName() const;
QString toolTip() const;
void refresh();
void makeReadOnly();
QWidget *mainWidget() const override;
QString displayName() const override;
QString toolTip() const override;
void refresh() override;
void makeReadOnly() override;
private:
void currentTypeChanged(int idx);
......@@ -146,14 +146,14 @@ class DeviceInformationConfigWidget : public KitConfigWidget
public:
DeviceInformationConfigWidget(Kit *workingCopy, const KitInformation *ki);
~DeviceInformationConfigWidget();
~DeviceInformationConfigWidget() override;
QWidget *mainWidget() const;
QWidget *buttonWidget() const;
QString displayName() const;
QString toolTip() const;
void refresh();
void makeReadOnly();
QWidget *mainWidget() const override;
QWidget *buttonWidget() const override;
QString displayName() const override;
QString toolTip() const override;
void refresh() override;
void makeReadOnly() override;
private:
void manageDevices();
......@@ -176,12 +176,12 @@ class KitEnvironmentConfigWidget : public KitConfigWidget
public:
KitEnvironmentConfigWidget(Kit *workingCopy, const KitInformation *ki);
QWidget *mainWidget() const;
QWidget *buttonWidget() const;
QString displayName() const;
QString toolTip() const;
void refresh();
void makeReadOnly();
QWidget *mainWidget() const override;
QWidget *buttonWidget() const override;
QString displayName() const override;
QString toolTip() const override;
void refresh() override;
void makeReadOnly() override;
private:
void editEnvironmentChanges();
......
......@@ -46,14 +46,14 @@ class QmakeKitConfigWidget : public ProjectExplorer::KitConfigWidget
public:
QmakeKitConfigWidget(ProjectExplorer::Kit *k, const ProjectExplorer::KitInformation *ki);
~QmakeKitConfigWidget();
~QmakeKitConfigWidget() override;
QWidget *mainWidget() const;
QString displayName() const;
QString toolTip() const;
QWidget *mainWidget() const override;
QString displayName() const override;
QString toolTip() const override;
void makeReadOnly();
void refresh();
void makeReadOnly() override;
void refresh() override;
private slots:
void mkspecWasChanged(const QString &text);
......
......@@ -47,16 +47,16 @@ class QtKitConfigWidget : public ProjectExplorer::KitConfigWidget
public:
QtKitConfigWidget(ProjectExplorer::Kit *k, const ProjectExplorer::KitInformation *ki);
~QtKitConfigWidget();
~QtKitConfigWidget() override;
QString displayName() const;
QString displayName() const override;
void makeReadOnly();
void makeReadOnly() override;
void refresh();
QWidget *mainWidget() const;
QWidget *buttonWidget() const;
QString toolTip() const;
void refresh() override;
QWidget *mainWidget() const override;
QWidget *buttonWidget() const override;
QString toolTip() const override;
private slots:
void versionsChanged(const QList<int> &added, const QList<int> &removed, const QList<int> &changed);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment