diff --git a/agents/archivemailagent/job/archivejob.h b/agents/archivemailagent/job/archivejob.h index cfbb9326b..f6cdf80f0 100644 --- a/agents/archivemailagent/job/archivejob.h +++ b/agents/archivemailagent/job/archivejob.h @@ -43,7 +43,7 @@ public: { } - ~ScheduledArchiveTask() + ~ScheduledArchiveTask() override = default; MailCommon::ScheduledJob *run() override; diff --git a/ktnef/src/qwmf.cpp b/ktnef/src/qwmf.cpp index 98aca0bb2..7f4b5fe41 100644 --- a/ktnef/src/qwmf.cpp +++ b/ktnef/src/qwmf.cpp @@ -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; }; diff --git a/src/identity/identityeditvcarddialog.h b/src/identity/identityeditvcarddialog.h index 1c02ff233..7b05fdf5f 100644 --- a/src/identity/identityeditvcarddialog.h +++ b/src/identity/identityeditvcarddialog.h @@ -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 diff --git a/src/kmcommands.h b/src/kmcommands.h index f4ecc50d1..0d0e0c71e 100644 --- a/src/kmcommands.h +++ b/src/kmcommands.h @@ -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: diff --git a/src/kontactplugin/kmail/kmail_plugin.h b/src/kontactplugin/kmail/kmail_plugin.h index e33fe40bc..c522e9cb0 100644 --- a/src/kontactplugin/kmail/kmail_plugin.h +++ b/src/kontactplugin/kmail/kmail_plugin.h @@ -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; diff --git a/src/widgets/collectionpane.h b/src/widgets/collectionpane.h index 6d164a68e..769409e57 100644 --- a/src/widgets/collectionpane.h +++ b/src/widgets/collectionpane.h @@ -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; };