Commit b3dfaa76 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override here too

parent fca28c08
Pipeline #53383 canceled with stage
......@@ -94,7 +94,7 @@ public:
/**
* Destroys the csv reader.
*/
~QCsvReader();
~QCsvReader() override;
/**
* Parses the csv data from @p device.
......
......@@ -14,7 +14,7 @@ class GravatarUpdateDialogTest : public QObject
Q_OBJECT
public:
explicit GravatarUpdateDialogTest(QObject *parent = nullptr);
~GravatarUpdateDialogTest();
~GravatarUpdateDialogTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class GravatarUpdateJobTest : public QObject
Q_OBJECT
public:
explicit GravatarUpdateJobTest(QObject *parent = nullptr);
~GravatarUpdateJobTest();
~GravatarUpdateJobTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -12,7 +12,7 @@ class GravatarUpdateWidgetTest : public QObject
Q_OBJECT
public:
explicit GravatarUpdateWidgetTest(QObject *parent = nullptr);
~GravatarUpdateWidgetTest();
~GravatarUpdateWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class MergeContactsDialogTest : public QObject
Q_OBJECT
public:
explicit MergeContactsDialogTest(QObject *parent = nullptr);
~MergeContactsDialogTest();
~MergeContactsDialogTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldSwithStackedWidget();
......
......@@ -14,7 +14,7 @@ class MergeContactSelectListWidgetTest : public QObject
Q_OBJECT
public:
explicit MergeContactSelectListWidgetTest(QObject *parent = nullptr);
~MergeContactSelectListWidgetTest();
~MergeContactSelectListWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class MergeContactWidgetListTest : public QObject
Q_OBJECT
public:
explicit MergeContactWidgetListTest(QObject *parent = nullptr);
~MergeContactWidgetListTest();
~MergeContactWidgetListTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldCleanListWhenSetItems();
......
......@@ -14,7 +14,7 @@ class ResultDuplicateTreeWidgetTest : public QObject
Q_OBJECT
public:
explicit ResultDuplicateTreeWidgetTest(QObject *parent = nullptr);
~ResultDuplicateTreeWidgetTest();
~ResultDuplicateTreeWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldFillList();
......
......@@ -14,7 +14,7 @@ class SearchDuplicateResultWidgetTest : public QObject
Q_OBJECT
public:
explicit SearchDuplicateResultWidgetTest(QObject *parent = nullptr);
~SearchDuplicateResultWidgetTest();
~SearchDuplicateResultWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldHaveMergeButtonEnabled();
......
......@@ -36,7 +36,7 @@ class KADDRESSBOOKMERGELIB_EXPORT ResultDuplicateTreeWidget : public QTreeWidget
Q_OBJECT
public:
explicit ResultDuplicateTreeWidget(QWidget *parent = nullptr);
~ResultDuplicateTreeWidget();
~ResultDuplicateTreeWidget() override;
void setContacts(const QVector<Akonadi::Item::List> &lstItem);
Q_REQUIRED_RESULT QVector<Akonadi::Item::List> selectedContactsToMerge() const;
......
......@@ -16,7 +16,7 @@ class SendVcardsJobTest : public QObject
Q_OBJECT
public:
explicit SendVcardsJobTest(QObject *parent = nullptr);
~SendVcardsJobTest();
~SendVcardsJobTest() override;
private Q_SLOTS:
void shouldNotStartWhenListAddressIsEmpty();
void shouldHasDefaultValue();
......
......@@ -14,7 +14,7 @@ class AutoCorrectionPluginEditorInterfaceTest : public QObject
Q_OBJECT
public:
explicit AutoCorrectionPluginEditorInterfaceTest(QObject *parent = nullptr);
~AutoCorrectionPluginEditorInterfaceTest();
~AutoCorrectionPluginEditorInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class AutoCorrectionPluginEditorTest : public QObject
Q_OBJECT
public:
explicit AutoCorrectionPluginEditorTest(QObject *parent = nullptr);
~AutoCorrectionPluginEditorTest();
~AutoCorrectionPluginEditorTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -13,7 +13,7 @@ class ChangeCasePluginEditorInterfaceTest : public QObject
Q_OBJECT
public:
explicit ChangeCasePluginEditorInterfaceTest(QObject *parent = nullptr);
~ChangeCasePluginEditorInterfaceTest();
~ChangeCasePluginEditorInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
......
......@@ -14,7 +14,7 @@ class ChangeCasePluginEditorTest : public QObject
Q_OBJECT
public:
explicit ChangeCasePluginEditorTest(QObject *parent = nullptr);
~ChangeCasePluginEditorTest();
~ChangeCasePluginEditorTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class InsertEmailPluginEditorInterfaceTest : public QObject
Q_OBJECT
public:
explicit InsertEmailPluginEditorInterfaceTest(QObject *parent = nullptr);
~InsertEmailPluginEditorInterfaceTest();
~InsertEmailPluginEditorInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class InsertEmailPluginEditorTest : public QObject
Q_OBJECT
public:
explicit InsertEmailPluginEditorTest(QObject *parent = nullptr);
~InsertEmailPluginEditorTest();
~InsertEmailPluginEditorTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class InsertShorturlPluginEditorInterfaceTest : public QObject
Q_OBJECT
public:
explicit InsertShorturlPluginEditorInterfaceTest(QObject *parent = nullptr);
~InsertShorturlPluginEditorInterfaceTest();
~InsertShorturlPluginEditorInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class InsertShorturlPluginEditorTest : public QObject
Q_OBJECT
public:
explicit InsertShorturlPluginEditorTest(QObject *parent = nullptr);
~InsertShorturlPluginEditorTest();
~InsertShorturlPluginEditorTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -18,7 +18,7 @@ class SHORTURL_EXPORT ShortUrlEngineInterface : public QObject
Q_OBJECT
public:
explicit ShortUrlEngineInterface(ShortUrlEnginePlugin *plugin, QObject *parent = nullptr);
~ShortUrlEngineInterface();
~ShortUrlEngineInterface() override;
void setShortUrl(const QString &url);
virtual void generateShortUrl() = 0;
......
......@@ -16,7 +16,7 @@ class SHORTURL_EXPORT ShortUrlEnginePlugin : public QObject
Q_OBJECT
public:
explicit ShortUrlEnginePlugin(QObject *parent = nullptr);
~ShortUrlEnginePlugin();
~ShortUrlEnginePlugin() override;
virtual ShortUrlEngineInterface *createInterface(QObject *parent) = 0;
virtual QString engineName() const = 0;
QString pluginName() const;
......
......@@ -16,7 +16,7 @@ class SHORTURL_EXPORT ShortUrlEnginePluginManager : public QObject
Q_OBJECT
public:
explicit ShortUrlEnginePluginManager(QObject *parent = nullptr);
~ShortUrlEnginePluginManager();
~ShortUrlEnginePluginManager() override;
QVector<ShortUrlEnginePlugin *> pluginsList() const;
......
......@@ -14,7 +14,7 @@ class NonBreakingSpacePluginEditorInterfaceTest : public QObject
Q_OBJECT
public:
explicit NonBreakingSpacePluginEditorInterfaceTest(QObject *parent = nullptr);
~NonBreakingSpacePluginEditorInterfaceTest();
~NonBreakingSpacePluginEditorInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class NonBreakingSpacePluginEditorTest : public QObject
Q_OBJECT
public:
explicit NonBreakingSpacePluginEditorTest(QObject *parent = nullptr);
~NonBreakingSpacePluginEditorTest();
~NonBreakingSpacePluginEditorTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -13,7 +13,7 @@ class ShareTextPluginEditorInterfaceTest : public QObject
Q_OBJECT
public:
explicit ShareTextPluginEditorInterfaceTest(QObject *parent = nullptr);
~ShareTextPluginEditorInterfaceTest();
~ShareTextPluginEditorInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
......
......@@ -14,7 +14,7 @@ class ZoomTextPluginEditorInterfaceTest : public QObject
Q_OBJECT
public:
explicit ZoomTextPluginEditorInterfaceTest(QObject *parent = nullptr);
~ZoomTextPluginEditorInterfaceTest();
~ZoomTextPluginEditorInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class ZoomTextPluginEditorTest : public QObject
Q_OBJECT
public:
explicit ZoomTextPluginEditorTest(QObject *parent = nullptr);
~ZoomTextPluginEditorTest();
~ZoomTextPluginEditorTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class AutomaticAddContactsJobTest : public QObject
Q_OBJECT
public:
explicit AutomaticAddContactsJobTest(QObject *parent = nullptr);
~AutomaticAddContactsJobTest();
~AutomaticAddContactsJobTest() override;
};
#endif // AUTOMATICADDCONTACTSJOBTEST_H
......@@ -14,7 +14,7 @@ class AutomaticAddContactsPluginTest : public QObject
Q_OBJECT
public:
explicit AutomaticAddContactsPluginTest(QObject *parent = nullptr);
~AutomaticAddContactsPluginTest();
~AutomaticAddContactsPluginTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -15,7 +15,7 @@ class AutomaticAddContactsTabWidgetTest : public QObject
Q_OBJECT
public:
explicit AutomaticAddContactsTabWidgetTest(QObject *parent = nullptr);
~AutomaticAddContactsTabWidgetTest();
~AutomaticAddContactsTabWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldResetValue();
......
......@@ -14,7 +14,7 @@ class CheckAttachmentDialogTest : public QObject
Q_OBJECT
public:
explicit CheckAttachmentDialogTest(QObject *parent = nullptr);
~CheckAttachmentDialogTest();
~CheckAttachmentDialogTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class CheckAttachmentJobTest : public QObject
Q_OBJECT
public:
explicit CheckAttachmentJobTest(QObject *parent = nullptr);
~CheckAttachmentJobTest();
~CheckAttachmentJobTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldAssignEmails_data();
......
......@@ -14,7 +14,7 @@ class CheckBeforeSendConfigureWidgetTest : public QObject
Q_OBJECT
public:
explicit CheckBeforeSendConfigureWidgetTest(QObject *parent = nullptr);
~CheckBeforeSendConfigureWidgetTest();
~CheckBeforeSendConfigureWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class CheckBeforeSendPluginTest : public QObject
Q_OBJECT
public:
explicit CheckBeforeSendPluginTest(QObject *parent = nullptr);
~CheckBeforeSendPluginTest();
~CheckBeforeSendPluginTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class CheckDuplicateEmailsDialogTest : public QObject
Q_OBJECT
public:
explicit CheckDuplicateEmailsDialogTest(QObject *parent = nullptr);
~CheckDuplicateEmailsDialogTest();
~CheckDuplicateEmailsDialogTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class CheckDuplicateEmailsJobTest : public QObject
Q_OBJECT
public:
explicit CheckDuplicateEmailsJobTest(QObject *parent = nullptr);
~CheckDuplicateEmailsJobTest();
~CheckDuplicateEmailsJobTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class ConfirmAddressCheckJobTest : public QObject
Q_OBJECT
public:
explicit ConfirmAddressCheckJobTest(QObject *parent = nullptr);
~ConfirmAddressCheckJobTest();
~ConfirmAddressCheckJobTest() override;
private Q_SLOTS:
void shouldHaveEmptyResultByDefault();
void shouldReturnEmptyResultWhenNoAddress();
......
......@@ -14,7 +14,7 @@ class ConfirmAddressConfigureTabTest : public QObject
Q_OBJECT
public:
explicit ConfirmAddressConfigureTabTest(QObject *parent = nullptr);
~ConfirmAddressConfigureTabTest();
~ConfirmAddressConfigureTabTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class ConfirmAddressConfigureTabWidgetTest : public QObject
Q_OBJECT
public:
explicit ConfirmAddressConfigureTabWidgetTest(QObject *parent = nullptr);
~ConfirmAddressConfigureTabWidgetTest();
~ConfirmAddressConfigureTabWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class ConfirmAddressConfigureWidgetTest : public QObject
Q_OBJECT
public:
explicit ConfirmAddressConfigureWidgetTest(QObject *parent = nullptr);
~ConfirmAddressConfigureWidgetTest();
~ConfirmAddressConfigureWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldLoadSaveResetValue();
......
......@@ -14,7 +14,7 @@ class ConfirmAddressDialogTest : public QObject
Q_OBJECT
public:
explicit ConfirmAddressDialogTest(QObject *parent = nullptr);
~ConfirmAddressDialogTest();
~ConfirmAddressDialogTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class ConfirmAddressPluginTest : public QObject
Q_OBJECT
public:
explicit ConfirmAddressPluginTest(QObject *parent = nullptr);
~ConfirmAddressPluginTest();
~ConfirmAddressPluginTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class ConfirmAddressWidgetTest : public QObject
Q_OBJECT
public:
explicit ConfirmAddressWidgetTest(QObject *parent = nullptr);
~ConfirmAddressWidgetTest();
~ConfirmAddressWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -17,7 +17,7 @@ class GrammalecteWidget : public QWidget
Q_OBJECT
public:
explicit GrammalecteWidget(QWidget *parent = nullptr);
~GrammalecteWidget();
~GrammalecteWidget() override;
private:
void slotReplaceText(const MessageComposer::PluginGrammarAction &act);
......
......@@ -17,7 +17,7 @@ class LanguageToolWidget : public QWidget
Q_OBJECT
public:
explicit LanguageToolWidget(QWidget *parent = nullptr);
~LanguageToolWidget();
~LanguageToolWidget() override;
private:
void slotReplaceText(const MessageComposer::PluginGrammarAction &act);
......
......@@ -14,7 +14,7 @@ class AntiSpamPluginInterfaceTest : public QObject
Q_OBJECT
public:
explicit AntiSpamPluginInterfaceTest(QObject *parent = nullptr);
~AntiSpamPluginInterfaceTest();
~AntiSpamPluginInterfaceTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
void shouldCreateAction();
......
......@@ -14,7 +14,7 @@ class AddressBookWidgetTest : public QObject
Q_OBJECT
public:
explicit AddressBookWidgetTest(QObject *parent = nullptr);
~AddressBookWidgetTest();
~AddressBookWidgetTest() override;
};
#endif // ADDRESSBOOKWIDGETTEST_H
......@@ -14,7 +14,7 @@ class CsvWidgetTest : public QObject
Q_OBJECT
public:
explicit CsvWidgetTest(QObject *parent = nullptr);
~CsvWidgetTest();
~CsvWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class MailMergeDialogTest : public QObject
Q_OBJECT
public:
explicit MailMergeDialogTest(QObject *parent = nullptr);
~MailMergeDialogTest();
~MailMergeDialogTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
......
......@@ -14,7 +14,7 @@ class MailMergeJobTest : public QObject
Q_OBJECT
public:
explicit MailMergeJobTest(QObject *parent = nullptr);
~MailMergeJobTest();
~MailMergeJobTest() override;
};
#endif // MAILMERGEJOBTEST_H
......@@ -14,7 +14,7 @@ class DKIMPolicyWidgetTest : public QObject
Q_OBJECT
public:
explicit DKIMPolicyWidgetTest(QObject *parent = nullptr);
~DKIMPolicyWidgetTest();
~DKIMPolicyWidgetTest() override;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
......
......@@ -14,7 +14,7 @@ class BriefHeaderStylePluginTest : public QObject
Q_OBJECT
public:
explicit BriefHeaderStylePluginTest(QObject *parent = nullptr);
~BriefHeaderStylePluginTest();
~BriefHeaderStylePluginTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class EnterpriseHeaderStylePluginTest : public QObject
Q_OBJECT
public:
explicit EnterpriseHeaderStylePluginTest(QObject *parent = nullptr);
~EnterpriseHeaderStylePluginTest();
~EnterpriseHeaderStylePluginTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class FancyHeaderStylePluginTest : public QObject
Q_OBJECT
public:
explicit FancyHeaderStylePluginTest(QObject *parent = nullptr);
~FancyHeaderStylePluginTest();
~FancyHeaderStylePluginTest() override;
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -14,7 +14,7 @@ class GrantleeHeaderStylePluginTest : public QObject
Q_OBJECT
public:
explicit GrantleeHeaderStylePluginTest(QObject *parent = nullptr);
~GrantleeHeaderStylePluginTest();
~GrantleeHeaderStylePluginTest() override;
public Q_SLOTS:
void initTestCase();
......