Commit 7ee91083 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 535e276a
Pipeline #47414 passed with stage
in 46 minutes and 24 seconds
......@@ -35,7 +35,7 @@ class MESSAGECOMPOSER_EXPORT AttachmentControllerBase : public QObject
public:
AttachmentControllerBase(MessageComposer::AttachmentModel *model, QWidget *wParent, KActionCollection *actionCollection);
~AttachmentControllerBase();
~AttachmentControllerBase() override;
void createActions();
......
......@@ -24,7 +24,7 @@ class MESSAGECOMPOSER_EXPORT RichTextComposerSignatures : public QObject
Q_OBJECT
public:
explicit RichTextComposerSignatures(MessageComposer::RichTextComposerNg *composer, QObject *parent = nullptr);
~RichTextComposerSignatures();
~RichTextComposerSignatures() override;
void cleanWhitespace(const KIdentityManagement::Signature &sig);
......
......@@ -35,7 +35,7 @@ class MESSAGECOMPOSER_EXPORT SignatureController : public QObject
Q_OBJECT
public:
explicit SignatureController(QObject *parent = nullptr);
~SignatureController();
~SignatureController() override;
void setEditor(MessageComposer::RichTextComposerNg *editor);
void setIdentityCombo(KIdentityManagement::IdentityCombo *combo);
......
......@@ -20,7 +20,7 @@ class MessageFactoryForwardJob : public QObject
Q_OBJECT
public:
explicit MessageFactoryForwardJob(QObject *parent = nullptr);
~MessageFactoryForwardJob();
~MessageFactoryForwardJob() override;
void start();
void setMsg(const KMime::Message::Ptr &msg);
......
......@@ -18,7 +18,7 @@ class MessageFactoryReplyJob : public QObject
Q_OBJECT
public:
explicit MessageFactoryReplyJob(QObject *parent = nullptr);
~MessageFactoryReplyJob();
~MessageFactoryReplyJob() override;
void start();
......
......@@ -19,7 +19,7 @@ class ImageScalingSelectFormatDialog : public QDialog
Q_OBJECT
public:
explicit ImageScalingSelectFormatDialog(QWidget *parent);
~ImageScalingSelectFormatDialog();
~ImageScalingSelectFormatDialog() override;
void setFormat(const QString &format);
QString format() const;
......
......@@ -26,7 +26,7 @@ class MESSAGECOMPOSER_EXPORT ImageScalingWidget : public QWidget
Q_OBJECT
public:
explicit ImageScalingWidget(QWidget *parent = nullptr);
~ImageScalingWidget();
~ImageScalingWidget() override;
void loadConfig();
void writeConfig();
......
......@@ -28,7 +28,7 @@ class MESSAGECOMPOSER_EXPORT InsertTextFileJob : public KJob
Q_OBJECT
public:
InsertTextFileJob(QTextEdit *editor, const QUrl &url);
explicit InsertTextFileJob(QTextEdit *editor, const QUrl &url);
~InsertTextFileJob() override;
void setEncoding(const QString &encoding);
......
......@@ -17,7 +17,7 @@ class SaveContactPreferenceJob : public QObject
Q_OBJECT
public:
explicit SaveContactPreferenceJob(const QString &email, const Kleo::KeyResolver::ContactPreferences &pref, QObject *parent = nullptr);
~SaveContactPreferenceJob();
~SaveContactPreferenceJob() override;
void start();
private Q_SLOTS:
......
......@@ -20,7 +20,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditor : public PimCommon::AbstractGenericPlu
Q_OBJECT
public:
explicit PluginEditor(QObject *parent = nullptr);
~PluginEditor();
~PluginEditor() override;
void setOrder(int order);
Q_REQUIRED_RESULT int order() const;
......
......@@ -30,7 +30,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorInterface : public PimCommon::AbstractG
Q_OBJECT
public:
explicit PluginEditorInterface(QObject *parent = nullptr);
~PluginEditorInterface();
~PluginEditorInterface() override;
void setActionType(PluginActionType type);
Q_REQUIRED_RESULT PluginActionType actionType() const;
......
......@@ -23,7 +23,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorManager : public QObject
public:
explicit PluginEditorManager(QObject *parent = nullptr);
~PluginEditorManager();
~PluginEditorManager() override;
static PluginEditorManager *self();
......
......@@ -22,7 +22,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSend : public QObject
Q_OBJECT
public:
explicit PluginEditorCheckBeforeSend(QObject *parent = nullptr);
~PluginEditorCheckBeforeSend();
~PluginEditorCheckBeforeSend() override;
virtual PluginEditorCheckBeforeSendInterface *createInterface(QObject *parent) = 0;
......
......@@ -20,7 +20,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendConfigureWidget : public
Q_OBJECT
public:
explicit PluginEditorCheckBeforeSendConfigureWidget(QWidget *parent = nullptr);
~PluginEditorCheckBeforeSendConfigureWidget();
~PluginEditorCheckBeforeSendConfigureWidget() override;
virtual void loadSettings() = 0;
virtual void saveSettings() = 0;
......
......@@ -23,7 +23,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendInterface : public QObje
Q_OBJECT
public:
explicit PluginEditorCheckBeforeSendInterface(QObject *parent = nullptr);
~PluginEditorCheckBeforeSendInterface();
~PluginEditorCheckBeforeSendInterface() override;
virtual bool exec(const MessageComposer::PluginEditorCheckBeforeSendParams &params) = 0;
......
......@@ -22,7 +22,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendManager : public QObject
Q_OBJECT
public:
explicit PluginEditorCheckBeforeSendManager(QObject *parent = nullptr);
~PluginEditorCheckBeforeSendManager();
~PluginEditorCheckBeforeSendManager() override;
static PluginEditorCheckBeforeSendManager *self();
......
......@@ -21,7 +21,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorConvertText : public QObject
Q_OBJECT
public:
explicit PluginEditorConvertText(QObject *parent = nullptr);
~PluginEditorConvertText();
~PluginEditorConvertText() override;
virtual PluginEditorConvertTextInterface *createInterface(QObject *parent) = 0;
......
......@@ -20,7 +20,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorConvertTextConfigureWidget : public QWi
Q_OBJECT
public:
explicit PluginEditorConvertTextConfigureWidget(QWidget *parent = nullptr);
~PluginEditorConvertTextConfigureWidget();
~PluginEditorConvertTextConfigureWidget() override;
virtual void loadSettings() = 0;
virtual void saveSettings() = 0;
......
......@@ -31,7 +31,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorConvertTextInterface : public QObject
Q_OBJECT
public:
explicit PluginEditorConvertTextInterface(QObject *parent = nullptr);
~PluginEditorConvertTextInterface();
~PluginEditorConvertTextInterface() override;
enum class ConvertTextStatus {
NotConverted,
......
......@@ -22,7 +22,7 @@ class MESSAGECOMPOSER_EXPORT PluginEditorConvertTextManager : public QObject
Q_OBJECT
public:
explicit PluginEditorConvertTextManager(QObject *parent = nullptr);
~PluginEditorConvertTextManager();
~PluginEditorConvertTextManager() override;
static PluginEditorConvertTextManager *self();
......
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