Commit e7a969fc authored by Laurent Montel's avatar Laurent Montel 😁

Use override directly

parent 032c04e8
......@@ -42,7 +42,7 @@ public:
/**
* Destructor
*/
virtual ~CoisceimPart();
~CoisceimPart() override;
static KAboutData *createAboutData();
......
......@@ -39,7 +39,7 @@ class EntityTreeWidget : public QWidget
Q_OBJECT
public:
EntityTreeWidget(QWidget *parent = nullptr);
virtual ~EntityTreeWidget();
~EntityTreeWidget() override;
QTreeView *view() const;
Akonadi::EntityTreeModel *model() const;
......
......@@ -35,7 +35,7 @@ class MailModel : public EntityTreeModel
public:
explicit MailModel(Monitor *monitor, QObject *parent = nullptr);
virtual ~MailModel();
~MailModel() override;
QVariant entityData(const Item &item, int column, int role = Qt::DisplayRole) const override;
......
......@@ -50,7 +50,7 @@ class UnreadMailsInCollectionsWidget : public QWidget
Q_OBJECT
public:
UnreadMailsInCollectionsWidget(QWidget *parent = nullptr, Qt::WindowFlags f = 0);
virtual ~UnreadMailsInCollectionsWidget();
~UnreadMailsInCollectionsWidget() override;
private Q_SLOTS:
void configure();
......
......@@ -39,7 +39,7 @@ public:
/**
* Default Destructor
*/
virtual ~mailreader();
~mailreader() override;
private Q_SLOTS:
void slotMessageSelected(const Akonadi::Item &item);
......
......@@ -40,7 +40,7 @@ public:
/**
* Destructor
*/
virtual ~mailreaderView();
~mailreaderView() override;
void showItem(const Akonadi::Item &item);
void showAboutPage();
......
......@@ -30,7 +30,7 @@ class SendMailConfigDialog : public QDialog
Q_OBJECT
public:
explicit SendMailConfigDialog(MailTransport::Transport *transport, QWidget *parent = nullptr);
virtual ~SendMailConfigDialog();
~SendMailConfigDialog() override;
private:
void okClicked();
......
......@@ -48,7 +48,7 @@ public:
/**
Destroys this job.
*/
virtual ~SendmailJob();
~SendmailJob() override;
protected:
virtual void doStart();
......
......@@ -31,7 +31,7 @@ class ConfigDialog : public QDialog
public:
explicit ConfigDialog(QWidget *parent = nullptr);
virtual ~ConfigDialog();
~ConfigDialog() override;
protected:
void load();
......
......@@ -35,7 +35,7 @@ class ConfigDialog : public QDialog
public:
explicit ConfigDialog(QWidget *parent = nullptr);
virtual ~ConfigDialog();
~ConfigDialog() override;
protected:
void load();
......
......@@ -30,7 +30,7 @@ class ConfigDialog : public QDialog
Q_OBJECT
public:
explicit ConfigDialog(QWidget *parent = nullptr);
virtual ~ConfigDialog();
~ConfigDialog() override;
protected:
void load();
......
......@@ -29,7 +29,7 @@ class FancyHeaderStyle : public HeaderStyle
{
public:
FancyHeaderStyle();
virtual ~FancyHeaderStyle();
~FancyHeaderStyle() override;
public:
const char *name() const override;
......
......@@ -45,7 +45,7 @@ class ADBLOCKLIB_EXPORT AdBlockSettingWidget : public QWidget
public:
explicit AdBlockSettingWidget(QWidget *parent = nullptr);
virtual ~AdBlockSettingWidget();
~AdBlockSettingWidget() override;
bool changed() const;
......
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