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;
......
......@@ -29,13 +29,13 @@ class HazeSkypeAccountUi : public AbstractAccountUi
public:
explicit HazeSkypeAccountUi(QObject *parent = 0);
virtual ~HazeSkypeAccountUi();
~HazeSkypeAccountUi() 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,12 +29,12 @@ class HazeSkypeWebAccountUi : public AbstractAccountUi
public:
explicit HazeSkypeWebAccountUi(QObject *parent = 0);
virtual ~HazeSkypeWebAccountUi();
~HazeSkypeWebAccountUi() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
virtual bool hasAdvancedOptionsWidget() const override;
bool hasAdvancedOptionsWidget() const override;
private:
Q_DISABLE_COPY(HazeSkypeWebAccountUi)
......
......@@ -29,9 +29,9 @@ class HazeSteamAccountUi : public AbstractAccountUi
public:
explicit HazeSteamAccountUi(QObject *parent = 0);
virtual ~HazeSteamAccountUi();
~HazeSteamAccountUi() override;
virtual AbstractAccountParametersWidget
AbstractAccountParametersWidget
*mainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0) const override;
......
......@@ -31,13 +31,13 @@ class HazeYahooAccount : public AbstractAccountUi
public:
explicit HazeYahooAccount(QObject *parent = 0);
virtual ~HazeYahooAccount();
~HazeYahooAccount() 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;
......
......@@ -31,9 +31,9 @@ class IcqMainOptionsWidget : public AbstractAccountParametersWidget
public:
explicit IcqMainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~IcqMainOptionsWidget();
~IcqMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(IcqMainOptionsWidget)
Ui::IcqMainOptionsWidget *m_ui;
......
......@@ -32,9 +32,9 @@ class IcqServerSettingsWidget : public AbstractAccountParametersWidget
public:
explicit IcqServerSettingsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~IcqServerSettingsWidget();
~IcqServerSettingsWidget() override;
virtual void submit() override;
void submit() override;
private:
Q_DISABLE_COPY(IcqServerSettingsWidget)
......
......@@ -31,9 +31,9 @@ class MsnMainOptionsWidget : public AbstractAccountParametersWidget
public:
explicit MsnMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~MsnMainOptionsWidget();
~MsnMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(MsnMainOptionsWidget)
Ui::MsnMainOptionsWidget *m_ui;
......
......@@ -31,7 +31,7 @@ class MySpaceIMAdvancedSettingsWidget : public AbstractAccountParametersWidget
public:
explicit MySpaceIMAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~MySpaceIMAdvancedSettingsWidget();
~MySpaceIMAdvancedSettingsWidget() override;
private:
Q_DISABLE_COPY(MySpaceIMAdvancedSettingsWidget)
......
......@@ -30,9 +30,9 @@ class MySpaceIMMainOptionsWidget : public AbstractAccountParametersWidget
Q_OBJECT
public:
explicit MySpaceIMMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~MySpaceIMMainOptionsWidget();
~MySpaceIMMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(MySpaceIMMainOptionsWidget)
Ui::MySpaceIMMainOptionsWidget *m_ui;
......
......@@ -31,7 +31,7 @@ class SipeAdvancedSettingsWidget : public AbstractAccountParametersWidget
public:
explicit SipeAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~SipeAdvancedSettingsWidget();
~SipeAdvancedSettingsWidget() override;
private:
Q_DISABLE_COPY(SipeAdvancedSettingsWidget)
......
......@@ -30,9 +30,9 @@ class SipeMainOptionsWidget : public AbstractAccountParametersWidget
Q_OBJECT
public:
explicit SipeMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~SipeMainOptionsWidget();
~SipeMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(SipeMainOptionsWidget)
Ui::SipeMainOptionsWidget *m_ui;
......
......@@ -31,7 +31,7 @@ class SkypeAdvancedSettingsWidget : public AbstractAccountParametersWidget
public:
explicit SkypeAdvancedSettingsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~SkypeAdvancedSettingsWidget();
~SkypeAdvancedSettingsWidget() override;
private:
Q_DISABLE_COPY(SkypeAdvancedSettingsWidget)
......
......@@ -30,9 +30,9 @@ class SkypeMainOptionsWidget : public AbstractAccountParametersWidget
Q_OBJECT
public:
explicit SkypeMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~SkypeMainOptionsWidget();
~SkypeMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
Q_DISABLE_COPY(SkypeMainOptionsWidget)
Ui::SkypeMainOptionsWidget *m_ui;
};
......
......@@ -31,9 +31,9 @@ class SkypeWebOptionsWidget : public AbstractAccountParametersWidget
public:
explicit SkypeWebOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~SkypeWebOptionsWidget();
~SkypeWebOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(SkypeWebOptionsWidget)
Ui::SkypeWebOptionsWidget *m_ui;
......
......@@ -30,9 +30,9 @@ class SteamMainOptionsWidget : public AbstractAccountParametersWidget
Q_OBJECT
public:
explicit SteamMainOptionsWidget(ParameterEditModel *model, QWidget *parent = 0);
virtual ~SteamMainOptionsWidget();
~SteamMainOptionsWidget() override;
virtual QString defaultDisplayName() const override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(SteamMainOptionsWidget)
Ui::SteamMainOptionsWidget *m_ui;
......
......@@ -32,10 +32,10 @@ class YahooMainOptionsWidget : public AbstractAccountParametersWidget
public:
explicit YahooMainOptionsWidget(ParameterEditModel* model, QWidget* parent = 0);
virtual ~YahooMainOptionsWidget();
~YahooMainOptionsWidget() override;
virtual void submit() override;
virtual QString defaultDisplayName() const override;
void submit() override;
QString defaultDisplayName() const override;
private:
Q_DISABLE_COPY(YahooMainOptionsWidget)
Ui::YahooMainOptionsWidget* m_ui;
......
......@@ -32,7 +32,7 @@ class YahooServerSettingsWidget : public AbstractAccountParametersWidget
public:
explicit YahooServerSettingsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~YahooServerSettingsWidget();
~YahooServerSettingsWidget() override;
private:
Q_DISABLE_COPY(YahooServerSettingsWidget)
......
......@@ -32,7 +32,7 @@ class AdvancedOptionsWidget : public AbstractAccountParametersWidget
public:
explicit AdvancedOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~AdvancedOptionsWidget();
~AdvancedOptionsWidget() override;
private:
Q_DISABLE_COPY(AdvancedOptionsWidget)
......
......@@ -31,9 +31,9 @@ class IdleAccountUiPlugin : public AbstractAccountUiPlugin
public:
IdleAccountUiPlugin(QObject *parent, const QVariantList &);
virtual ~IdleAccountUiPlugin();
~IdleAccountUiPlugin() 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(IdleAccountUiPlugin)
......
......@@ -29,13 +29,13 @@ class IdleAccountUi : public AbstractAccountUi
public:
explicit IdleAccountUi(QObject *parent = 0);
virtual ~IdleAccountUi();
~IdleAccountUi() 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;
private:
......
......@@ -32,9 +32,9 @@ class MainOptionsWidget : public AbstractAccountParametersWidget
public:
explicit MainOptionsWidget(ParameterEditModel *model,
QWidget *parent = 0);
virtual ~MainOptionsWidget();