Commit 16a46c68 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 93730b75
......@@ -19,7 +19,7 @@ class CollectionQuotaWidget : public QWidget
Q_OBJECT
public:
explicit CollectionQuotaWidget(QWidget *parent);
~CollectionQuotaWidget()
~CollectionQuotaWidget() override
= default;
void setQuotaInfo(qint64 currentValue, qint64 maxValue);
......
......@@ -36,7 +36,7 @@ class ComposerPageGeneralTab : public ConfigModuleTab
Q_OBJECT
public:
explicit ComposerPageGeneralTab(QWidget *parent = nullptr);
QString helpAnchor() const;
Q_REQUIRED_RESULT QString helpAnchor() const;
void save() override;
private:
......
......@@ -21,7 +21,7 @@ public:
{
}
~ConfigModuleTab()
~ConfigModuleTab() override
= default;
virtual void save() = 0;
......
......@@ -18,7 +18,7 @@ class AddEmailToExistingContactDialog : public QDialog
Q_OBJECT
public:
explicit AddEmailToExistingContactDialog(QWidget *parent);
~AddEmailToExistingContactDialog();
~AddEmailToExistingContactDialog() override;
Q_REQUIRED_RESULT Akonadi::Item selectedContact() const;
......
......@@ -17,7 +17,7 @@ class KMKnotify : public QDialog
Q_OBJECT
public:
explicit KMKnotify(QWidget *parent);
~KMKnotify();
~KMKnotify() override;
void setCurrentNotification(const QString &name);
......
......@@ -14,7 +14,7 @@ class SpellCheckerConfigDialog : public Sonnet::ConfigDialog
Q_OBJECT
public:
explicit SpellCheckerConfigDialog(QWidget *parent = nullptr);
~SpellCheckerConfigDialog();
~SpellCheckerConfigDialog() override;
private:
void readConfig();
......
......@@ -29,7 +29,7 @@ public:
};
explicit CodecAction(Mode mode, QObject *parent = nullptr);
~CodecAction();
~CodecAction() override;
/**
The name of the charset, if a specific encoding was selected, or a list
......
......@@ -16,7 +16,7 @@ class KMComposerCreateNewComposerJob : public QObject
Q_OBJECT
public:
explicit KMComposerCreateNewComposerJob(QObject *parent = nullptr);
~KMComposerCreateNewComposerJob();
~KMComposerCreateNewComposerJob() override;
void start();
void setCollectionForNewMessage(const Akonadi::Collection &collectionForNewMessage);
......
......@@ -14,7 +14,7 @@ class KMComposerGlobalAction : public QObject
Q_OBJECT
public:
explicit KMComposerGlobalAction(KMComposerWin *composerWin, QObject *parent = nullptr);
~KMComposerGlobalAction();
~KMComposerGlobalAction() override;
public Q_SLOTS:
void slotUndo();
......
......@@ -17,7 +17,7 @@ class KMComposerUpdateTemplateJob : public QObject
Q_OBJECT
public:
explicit KMComposerUpdateTemplateJob(QObject *parent = nullptr);
~KMComposerUpdateTemplateJob();
~KMComposerUpdateTemplateJob() override;
void start();
void setMsg(const KMime::Message::Ptr &msg);
......
......@@ -19,7 +19,7 @@ class KMailPluginEditorCheckBeforeSendManagerInterface : public QObject
Q_OBJECT
public:
explicit KMailPluginEditorCheckBeforeSendManagerInterface(QObject *parent = nullptr);
~KMailPluginEditorCheckBeforeSendManagerInterface();
~KMailPluginEditorCheckBeforeSendManagerInterface() override;
QWidget *parentWidget() const;
void setParentWidget(QWidget *parentWidget);
......
......@@ -20,7 +20,7 @@ class KMailPluginEditorConvertTextManagerInterface : public QObject
Q_OBJECT
public:
explicit KMailPluginEditorConvertTextManagerInterface(QObject *parent = nullptr);
~KMailPluginEditorConvertTextManagerInterface();
~KMailPluginEditorConvertTextManagerInterface() override;
QWidget *parentWidget() const;
void setParentWidget(QWidget *parentWidget);
......
......@@ -17,7 +17,7 @@ class KMailPluginEditorInitManagerInterface : public QObject
Q_OBJECT
public:
explicit KMailPluginEditorInitManagerInterface(QObject *parent = nullptr);
~KMailPluginEditorInitManagerInterface() = default;
~KMailPluginEditorInitManagerInterface() override = default;
KPIMTextEdit::RichTextComposer *richTextEditor() const;
void setRichTextEditor(KPIMTextEdit::RichTextComposer *richTextEditor);
......
......@@ -23,7 +23,7 @@ class KMailPluginEditorManagerInterface : public QObject
Q_OBJECT
public:
explicit KMailPluginEditorManagerInterface(QObject *parent = nullptr);
~KMailPluginEditorManagerInterface();
~KMailPluginEditorManagerInterface() override;
KPIMTextEdit::RichTextEditor *richTextEditor() const;
void setRichTextEditor(KPIMTextEdit::RichTextEditor *richTextEditor);
......
......@@ -20,7 +20,7 @@ class KMailPluginGrammarEditorManagerInterface : public QObject
Q_OBJECT
public:
explicit KMailPluginGrammarEditorManagerInterface(QObject *parent = nullptr);
~KMailPluginGrammarEditorManagerInterface() = default;
~KMailPluginGrammarEditorManagerInterface() override = default;
KPIMTextEdit::RichTextComposer *richTextEditor() const;
void setRichTextEditor(KPIMTextEdit::RichTextComposer *richTextEditor);
......
......@@ -16,7 +16,7 @@ class KMAILTESTS_TESTS_EXPORT PotentialPhishingDetailDialog : public QDialog
Q_OBJECT
public:
explicit PotentialPhishingDetailDialog(QWidget *parent = nullptr);
~PotentialPhishingDetailDialog();
~PotentialPhishingDetailDialog() override;
void fillList(const QStringList &lst);
......
......@@ -16,7 +16,7 @@ class KMAILTESTS_TESTS_EXPORT PotentialPhishingDetailWidget : public QWidget
Q_OBJECT
public:
explicit PotentialPhishingDetailWidget(QWidget *parent = nullptr);
~PotentialPhishingDetailWidget();
~PotentialPhishingDetailWidget() override;
void save();
......
......@@ -17,7 +17,7 @@ class KMAILTESTS_TESTS_EXPORT PotentialPhishingEmailJob : public QObject
Q_OBJECT
public:
explicit PotentialPhishingEmailJob(QObject *parent = nullptr);
~PotentialPhishingEmailJob();
~PotentialPhishingEmailJob() override;
void setEmailWhiteList(const QStringList &emails);
void setPotentialPhishingEmails(const QStringList &emails);
......
......@@ -15,7 +15,7 @@ class KMAILTESTS_TESTS_EXPORT PotentialPhishingEmailWarning : public KMessageWid
Q_OBJECT
public:
explicit PotentialPhishingEmailWarning(QWidget *parent = nullptr);
~PotentialPhishingEmailWarning();
~PotentialPhishingEmailWarning() override;
void setPotentialPhisingEmail(const QStringList &lst);
......
......@@ -15,7 +15,7 @@ class AttachmentAddedFromExternalWarning : public KMessageWidget
Q_OBJECT
public:
explicit AttachmentAddedFromExternalWarning(QWidget *parent = nullptr);
~AttachmentAddedFromExternalWarning();
~AttachmentAddedFromExternalWarning() override;
void setAttachmentNames(const QStringList &lst);
};
......
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