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

Add missing override on destructor

parent 3ea72059
Pipeline #43287 skipped
......@@ -43,7 +43,7 @@ public:
{
}
~ScheduledArchiveTask()
~ScheduledArchiveTask() override
= default;
MailCommon::ScheduledJob *run() override;
......
......@@ -55,7 +55,7 @@ class WinObjBrushHandle : public WinObjHandle
public:
void apply(QPainter &p) override;
QBrush brush;
virtual ~WinObjBrushHandle()
~WinObjBrushHandle() override
= default;
};
......@@ -64,7 +64,7 @@ class WinObjPenHandle : public WinObjHandle
public:
void apply(QPainter &p) override;
QPen pen;
virtual ~WinObjPenHandle()
~WinObjPenHandle() override
= default;
};
......@@ -74,7 +74,7 @@ public:
void apply(QPainter &p) override;
QBrush brush;
QImage image;
virtual ~WinObjPatternBrushHandle()
~WinObjPatternBrushHandle() override
= default;
};
......@@ -84,7 +84,7 @@ public:
void apply(QPainter &p) override;
QFont font;
int rotation;
virtual ~WinObjFontHandle()
~WinObjFontHandle() override
= default;
};
......
......@@ -18,7 +18,7 @@ class IdentityEditVcardDialog : public QDialog
Q_OBJECT
public:
explicit IdentityEditVcardDialog(const QString &fileName, QWidget *parent = nullptr);
~IdentityEditVcardDialog();
~IdentityEditVcardDialog() override;
/**
* @brief loadVcard load vcard in a contact editor
* @param vcardFileName
......
......@@ -237,7 +237,7 @@ class KMAILTESTS_TESTS_EXPORT KMEditItemCommand : public KMCommand
public:
explicit KMEditItemCommand(QWidget *parent, const Akonadi::Item &msg, bool deleteFromSource = true);
~KMEditItemCommand();
~KMEditItemCommand() override;
private Q_SLOTS:
void slotDeleteItem(KJob *job);
private:
......
......@@ -38,7 +38,7 @@ class KMailPlugin : public KontactInterface::Plugin
public:
KMailPlugin(KontactInterface::Core *core, const QVariantList &);
~KMailPlugin();
~KMailPlugin() override;
Q_REQUIRED_RESULT bool isRunningStandalone() const override;
KontactInterface::Summary *createSummaryWidget(QWidget *parent) override;
......
......@@ -15,7 +15,7 @@ class CollectionPane : public MessageList::Pane
Q_OBJECT
public:
explicit CollectionPane(bool restoreSession, QAbstractItemModel *model, QItemSelectionModel *selectionModel, QWidget *parent = nullptr);
~CollectionPane();
~CollectionPane() override;
MessageList::StorageModel *createStorageModel(QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent) override;
void writeConfig(bool restoreSession) override;
......@@ -29,7 +29,7 @@ public:
* Create a StorageModel wrapping the specified folder.
*/
explicit CollectionStorageModel(QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent = nullptr);
~CollectionStorageModel();
~CollectionStorageModel() override;
Q_REQUIRED_RESULT bool isOutBoundFolder(const Akonadi::Collection &c) const override;
};
......
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