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

Add missing override

parent 6cdd7f30
......@@ -73,7 +73,7 @@ public:
};
explicit AttachmentModel(QObject *parent);
~AttachmentModel();
~AttachmentModel() override;
bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override;
QMimeData *mimeData(const QModelIndexList &indexes) const override;
......
......@@ -37,7 +37,7 @@ class MESSAGECOMPOSER_EXPORT RichTextComposerNg : public KPIMTextEdit::RichTextC
Q_OBJECT
public:
explicit RichTextComposerNg(QWidget *parent = nullptr);
~RichTextComposerNg();
~RichTextComposerNg() override;
PimCommon::AutoCorrection *autocorrection() const;
void setAutocorrection(PimCommon::AutoCorrection *autocorrect);
......
......@@ -31,7 +31,7 @@ class MESSAGECOMPOSER_EXPORT ComposerLineEdit : public KPIM::AddresseeLineEdit
public:
explicit ComposerLineEdit(bool useCompletion, QWidget *parent = nullptr);
~ComposerLineEdit();
~ComposerLineEdit() override;
Q_SIGNALS:
void focusUp();
......
......@@ -34,7 +34,7 @@ class MESSAGECOMPOSER_EXPORT FollowupReminderCreateJob : public KJob
Q_OBJECT
public:
explicit FollowupReminderCreateJob(QObject *parent = nullptr);
~FollowupReminderCreateJob();
~FollowupReminderCreateJob() override;
void setFollowUpReminderDate(const QDate &date);
......
......@@ -33,7 +33,7 @@ class MESSAGECOMPOSER_EXPORT FollowUpReminderSelectDateDialog : public QDialog
Q_OBJECT
public:
explicit FollowUpReminderSelectDateDialog(QWidget *parent = nullptr, QAbstractItemModel *model = nullptr);
~FollowUpReminderSelectDateDialog();
~FollowUpReminderSelectDateDialog() override;
QDate selectedDate() const;
......
......@@ -54,7 +54,7 @@ public:
/**
* Destroys the aliases expand job.
*/
~AliasesExpandJob();
~AliasesExpandJob() override;
/**
* Starts the job.
......
......@@ -28,7 +28,7 @@ class MESSAGECOMPOSER_EXPORT AttachmentVcardFromAddressBookJob : public MessageC
Q_OBJECT
public:
explicit AttachmentVcardFromAddressBookJob(const Akonadi::Item &item, QObject *parent = nullptr);
~AttachmentVcardFromAddressBookJob();
~AttachmentVcardFromAddressBookJob() override;
protected Q_SLOTS:
void doStart() override;
......
......@@ -45,7 +45,7 @@ public:
/**
* Destroys the distribution list expand job.
*/
~DistributionListExpandJob();
~DistributionListExpandJob() override;
/**
* Starts the job.
......
......@@ -52,7 +52,7 @@ public:
/**
* Destroys the email address resolve job.
*/
~EmailAddressResolveJob();
~EmailAddressResolveJob() override;
/**
* Starts the job.
......
......@@ -42,7 +42,7 @@ class MESSAGECOMPOSER_EXPORT InsertTextFileJob : public KJob
public:
InsertTextFileJob(QTextEdit *editor, const QUrl &url);
~InsertTextFileJob();
~InsertTextFileJob() override;
void setEncoding(const QString &encoding);
......
......@@ -48,7 +48,7 @@ public:
};
Recipient(const QString &email = QString(), Type type = To); //krazy:exclude=explicit
~Recipient();
~Recipient() override;
void setType(Type type);
Type type() const;
......
......@@ -40,7 +40,7 @@ class RecipientsPicker : public QDialog
public:
explicit RecipientsPicker(QWidget *parent);
~RecipientsPicker();
~RecipientsPicker() override;
void setRecipients(const Recipient::List &);
......
......@@ -36,7 +36,7 @@ class MESSAGECOMPOSER_EXPORT AkonadiSender : public QObject, public MessageSende
public:
explicit AkonadiSender(QObject *parent = nullptr);
~AkonadiSender();
~AkonadiSender() override;
protected:
/**
......
......@@ -43,7 +43,7 @@ public:
* Destroys the job.
*/
~AttachmentFromFolderJob();
~AttachmentFromFolderJob() override;
/**
* Sets the @p compression method, either KZip::Deflate or KZip::NoCompression.
......
......@@ -50,7 +50,7 @@ public:
/**
* Destroys the job.
*/
~AttachmentFromMimeContentJob();
~AttachmentFromMimeContentJob() override;
/**
* Sets the mime @p content to load the attachment from.
......
......@@ -46,7 +46,7 @@ public:
/**
* Destroys the job.
*/
~AttachmentFromUrlJob();
~AttachmentFromUrlJob() override;
protected Q_SLOTS:
void doStart() override;
......
......@@ -30,7 +30,7 @@ class MESSAGECORE_EXPORT AttachmentUpdateJob : public KJob
Q_OBJECT
public:
AttachmentUpdateJob(const AttachmentPart::Ptr &part, QObject *parent = nullptr);
~AttachmentUpdateJob();
~AttachmentUpdateJob() override;
void start() override;
AttachmentPart::Ptr originalPart() const;
......
......@@ -32,7 +32,7 @@ class Delegate : public ThemeDelegate
Q_OBJECT
public:
explicit Delegate(View *pParent);
~Delegate();
~Delegate() override;
protected:
/**
......
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