Commit 4ff56c04 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override keyword

parent 449f9a3f
Pipeline #91134 passed with stage
in 23 minutes and 32 seconds
......@@ -28,7 +28,7 @@ class AddArchiveMailDialog : public QDialog
Q_OBJECT
public:
explicit AddArchiveMailDialog(ArchiveMailInfo *info, QWidget *parent = nullptr);
~AddArchiveMailDialog();
~AddArchiveMailDialog() override;
void setArchiveType(MailCommon::BackupJob::ArchiveType type);
MailCommon::BackupJob::ArchiveType archiveType() const;
......
......@@ -13,7 +13,7 @@ class ArchiveMailInfoTest : public QObject
Q_OBJECT
public:
explicit ArchiveMailInfoTest(QObject *parent = nullptr);
~ArchiveMailInfoTest();
~ArchiveMailInfoTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -13,7 +13,7 @@ class ArchiveMailWidgetTest : public QObject
Q_OBJECT
public:
explicit ArchiveMailWidgetTest(QObject *parent = nullptr);
~ArchiveMailWidgetTest();
~ArchiveMailWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -13,7 +13,7 @@ class FormatComboBoxTest : public QObject
Q_OBJECT
public:
explicit FormatComboBoxTest(QObject *parent = nullptr);
~FormatComboBoxTest();
~FormatComboBoxTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void changeCurrentItem_data();
......
......@@ -13,7 +13,7 @@ class UnitComboBoxTest : public QObject
Q_OBJECT
public:
explicit UnitComboBoxTest(QObject *parent = nullptr);
~UnitComboBoxTest();
~UnitComboBoxTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void changeCurrentItem();
......
......@@ -14,7 +14,7 @@ class FormatComboBox : public QComboBox
Q_OBJECT
public:
explicit FormatComboBox(QWidget *parent = nullptr);
~FormatComboBox();
~FormatComboBox() override;
MailCommon::BackupJob::ArchiveType format() const;
void setFormat(MailCommon::BackupJob::ArchiveType type);
......
......@@ -14,7 +14,7 @@ class UnitComboBox : public QComboBox
Q_OBJECT
public:
explicit UnitComboBox(QWidget *parent = nullptr);
~UnitComboBox();
~UnitComboBox() override;
ArchiveMailInfo::ArchiveUnit unit() const;
void setUnit(ArchiveMailInfo::ArchiveUnit unit);
};
......
......@@ -15,7 +15,7 @@ class FollowUpReminderConfigTest : public QObject
Q_OBJECT
public:
explicit FollowUpReminderConfigTest(QObject *parent = nullptr);
~FollowUpReminderConfigTest();
~FollowUpReminderConfigTest() override;
private Q_SLOTS:
void init();
void cleanup();
......
......@@ -13,7 +13,7 @@ class FollowupReminderNoAnswerDialogTest : public QObject
Q_OBJECT
public:
explicit FollowupReminderNoAnswerDialogTest(QObject *parent = nullptr);
~FollowupReminderNoAnswerDialogTest();
~FollowupReminderNoAnswerDialogTest() override;
private Q_SLOTS:
void shouldHaveDefaultValues();
void shouldAddItemInTreeList();
......
......@@ -29,7 +29,7 @@ class Attachment : public QTreeWidgetItem
{
public:
Attachment(QTreeWidget *parent, KTNEFAttach *attach);
~Attachment();
~Attachment() override;
KTNEFAttach *getAttachment() const
{
......
......@@ -170,7 +170,7 @@ public:
explicit TagListWidgetItem(QListWidget *parent = nullptr);
explicit TagListWidgetItem(const QIcon &icon, const QString &text, QListWidget *parent = nullptr);
~TagListWidgetItem();
~TagListWidgetItem() override;
void setKMailTag(const MailCommon::Tag::Ptr &tag);
MailCommon::Tag::Ptr kmailTag() const;
......
......@@ -125,7 +125,7 @@ class GpgSettingsDialog : public KCMultiDialog
Q_OBJECT
public:
explicit GpgSettingsDialog(QWidget *parent = nullptr);
~GpgSettingsDialog();
~GpgSettingsDialog() override;
private:
void readConfig();
......
......@@ -13,7 +13,7 @@ class ExternalEditorWarningTest : public QObject
Q_OBJECT
public:
explicit ExternalEditorWarningTest(QObject *parent = nullptr);
~ExternalEditorWarningTest() = default;
~ExternalEditorWarningTest() override = default;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -13,7 +13,7 @@ class IncorrectIdentityFolderWarningTest : public QObject
Q_OBJECT
public:
explicit IncorrectIdentityFolderWarningTest(QObject *parent = nullptr);
~IncorrectIdentityFolderWarningTest() = default;
~IncorrectIdentityFolderWarningTest() override = default;
private Q_SLOTS:
void shouldHaveDefaultValues();
void shouldShowWarningInvalidIdentity();
......
......@@ -73,7 +73,7 @@ class FillComposerJob : public QObject
Q_OBJECT
public:
explicit FillComposerJob(QObject *parent = nullptr);
~FillComposerJob();
~FillComposerJob() override;
void start();
void setSettings(const FillComposerJobSettings &settings);
......
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