Commit cad9379d authored by Alexander Akulich's avatar Alexander Akulich
Browse files

Use override specifiers wherever it makes sense

Refactored with clang-tidy
parent a22a55ff
......@@ -31,9 +31,9 @@ class GabbleAccountUiPlugin : public AbstractAccountUiPlugin
public:
GabbleAccountUiPlugin(QObject *parent, const QVariantList &);
virtual ~GabbleAccountUiPlugin();
~GabbleAccountUiPlugin() override;
virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override;
AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override;
private:
Q_DISABLE_COPY(GabbleAccountUiPlugin)
......
......@@ -29,13 +29,13 @@ class GabbleAccountUi : public AbstractAccountUi
public:
explicit GabbleAccountUi(const QString &serviceName, QObject *parent = 0);
virtual ~GabbleAccountUi();
~GabbleAccountUi() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
virtual AbstractAccountParametersWidget
bool hasAdvancedOptionsWidget() const override;
AbstractAccountParametersWidget
*advancedOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
......
......@@ -33,11 +33,11 @@ class MainOptionsWidgetFacebook : public AbstractAccountParametersWidget
public:
explicit MainOptionsWidgetFacebook(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~MainOptionsWidgetFacebook();
~MainOptionsWidgetFacebook() override;
virtual void submit() override;
virtual bool validateParameterValues() override;
virtual QString defaultDisplayName() const override;
void submit() override;
bool validateParameterValues() override;
QString defaultDisplayName() const override;
private:
Ui::MainOptionsWidgetFacebook *m_ui;
};
......
......@@ -34,9 +34,9 @@ class MainOptionsWidgetGoogleTalk : public AbstractAccountParametersWidget
public:
explicit MainOptionsWidgetGoogleTalk(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~MainOptionsWidgetGoogleTalk();
~MainOptionsWidgetGoogleTalk() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Ui::MainOptionsWidgetGoogleTalk *m_ui;
};
......
......@@ -37,11 +37,11 @@ class MainOptionsWidgetKDETalk : public AbstractAccountParametersWidget
public:
explicit MainOptionsWidgetKDETalk(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~MainOptionsWidgetKDETalk();
~MainOptionsWidgetKDETalk() override;
virtual void submit() override;
virtual bool validateParameterValues() override;
virtual QString defaultDisplayName() const override;
void submit() override;
bool validateParameterValues() override;
QString defaultDisplayName() const override;
private:
Ui::MainOptionsWidgetKDETalk *m_ui;
......
......@@ -33,11 +33,11 @@ class MainOptionsWidgetMSN : public AbstractAccountParametersWidget
public:
explicit MainOptionsWidgetMSN(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~MainOptionsWidgetMSN();
~MainOptionsWidgetMSN() override;
virtual void submit() override;
virtual bool validateParameterValues() override;
virtual QString defaultDisplayName() const override;
void submit() override;
bool validateParameterValues() override;
QString defaultDisplayName() const override;
private:
Ui::MainOptionsWidgetMSN *m_ui;
};
......
......@@ -32,9 +32,9 @@ class MainOptionsWidget : public AbstractAccountParametersWidget
public:
explicit MainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~MainOptionsWidget();
~MainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(MainOptionsWidget)
Ui::MainOptionsWidget *m_ui;
......
......@@ -32,7 +32,7 @@ class ProxySettingsWidget : public AbstractAccountParametersWidget
public:
explicit ProxySettingsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~ProxySettingsWidget();
~ProxySettingsWidget() override;
private:
Q_DISABLE_COPY(ProxySettingsWidget)
......
......@@ -32,7 +32,7 @@ class ServerSettingsWidget : public AbstractAccountParametersWidget
public:
explicit ServerSettingsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~ServerSettingsWidget();
~ServerSettingsWidget() override;
private:
Q_DISABLE_COPY(ServerSettingsWidget)
......
......@@ -34,9 +34,9 @@ class AimMainOptionsWidget
public:
explicit AimMainOptionsWidget(ParameterEditModel* model, QWidget* parent = 0);
virtual ~AimMainOptionsWidget();
~AimMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Ui::AimMainOptionsWidget *m_ui;
};
......
......@@ -32,7 +32,7 @@ class AimServerSettingsWidget : public AbstractAccountParametersWidget
public:
explicit AimServerSettingsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~AimServerSettingsWidget();
~AimServerSettingsWidget() override;
private:
Q_DISABLE_COPY(AimServerSettingsWidget)
......
......@@ -31,7 +31,7 @@ class GroupWiseAdvancedSettingsWidget : public AbstractAccountParametersWidget
public:
explicit GroupWiseAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~GroupWiseAdvancedSettingsWidget();
~GroupWiseAdvancedSettingsWidget() override;
private:
Q_DISABLE_COPY(GroupWiseAdvancedSettingsWidget)
......
......@@ -30,9 +30,9 @@ class GroupWiseMainOptionsWidget : public AbstractAccountParametersWidget
Q_OBJECT
public:
explicit GroupWiseMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~GroupWiseMainOptionsWidget();
~GroupWiseMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(GroupWiseMainOptionsWidget)
Ui::GroupWiseMainOptionsWidget *m_ui;
......
......@@ -31,9 +31,9 @@ class HazeAccountUiPlugin : public AbstractAccountUiPlugin
public:
HazeAccountUiPlugin(QObject *parent, const QVariantList &);
virtual ~HazeAccountUiPlugin();
~HazeAccountUiPlugin() override;
virtual AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override;
AbstractAccountUi* accountUi(const QString &connectionManager, const QString &protocol, const QString &serviceName) override;
private:
Q_DISABLE_COPY(HazeAccountUiPlugin)
......
......@@ -29,13 +29,13 @@ class HazeAimAccount : public AbstractAccountUi
public:
explicit HazeAimAccount(QObject *parent = 0);
virtual ~HazeAimAccount();
~HazeAimAccount() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
virtual AbstractAccountParametersWidget
bool hasAdvancedOptionsWidget() const override;
AbstractAccountParametersWidget
*advancedOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
......
......@@ -29,13 +29,13 @@ class HazeGroupWiseAccountUi : public AbstractAccountUi
public:
explicit HazeGroupWiseAccountUi(QObject *parent = 0);
virtual ~HazeGroupWiseAccountUi();
~HazeGroupWiseAccountUi() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
virtual AbstractAccountParametersWidget
bool hasAdvancedOptionsWidget() const override;
AbstractAccountParametersWidget
*advancedOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
......
......@@ -29,13 +29,13 @@ class HazeIcqAccountUi : public AbstractAccountUi
public:
explicit HazeIcqAccountUi(QObject *parent = 0);
virtual ~HazeIcqAccountUi();
~HazeIcqAccountUi() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
virtual AbstractAccountParametersWidget
bool hasAdvancedOptionsWidget() const override;
AbstractAccountParametersWidget
*advancedOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
......
......@@ -29,11 +29,11 @@ class HazeMsnAccountUi: public AbstractAccountUi
public:
explicit HazeMsnAccountUi(QObject *parent = 0);
virtual ~HazeMsnAccountUi();
~HazeMsnAccountUi() override;
// virtual AbstractAccountParametersWidget *advancedOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const;
virtual AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
AbstractAccountParametersWidget *mainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0) const override;
bool hasAdvancedOptionsWidget() const override;
private:
Q_DISABLE_COPY(HazeMsnAccountUi)
......
......@@ -29,13 +29,13 @@ class HazeMySpaceIMAccountUi : public AbstractAccountUi
public:
explicit HazeMySpaceIMAccountUi(QObject *parent = 0);
virtual ~HazeMySpaceIMAccountUi();
~HazeMySpaceIMAccountUi() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
virtual AbstractAccountParametersWidget
bool hasAdvancedOptionsWidget() const override;
AbstractAccountParametersWidget
*advancedOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
......
......@@ -29,13 +29,13 @@ class HazeSipeAccountUi : public AbstractAccountUi
public:
explicit HazeSipeAccountUi(QObject *parent = 0);
virtual ~HazeSipeAccountUi();
~HazeSipeAccountUi() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
virtual AbstractAccountParametersWidget
bool hasAdvancedOptionsWidget() const override;
AbstractAccountParametersWidget
*advancedOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
......
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