diff --git a/src/backend/corebackend.h b/src/backend/corebackend.h index ddb4341..c828a1b 100644 --- a/src/backend/corebackend.h +++ b/src/backend/corebackend.h @@ -47,7 +47,7 @@ class LIBKPMCORE_EXPORT CoreBackend : public QObject protected: CoreBackend(); - virtual ~CoreBackend(); + ~CoreBackend() override; Q_SIGNALS: /** diff --git a/src/core/device.h b/src/core/device.h index 01d9d6f..df5d5b9 100644 --- a/src/core/device.h +++ b/src/core/device.h @@ -56,7 +56,7 @@ public: public: explicit Device(const Device& other); - virtual ~Device(); + ~Device() override; virtual bool operator==(const Device& other) const; virtual bool operator!=(const Device& other) const; diff --git a/src/core/lvmdevice.h b/src/core/lvmdevice.h index dcc7ed6..5ef67d9 100644 --- a/src/core/lvmdevice.h +++ b/src/core/lvmdevice.h @@ -40,7 +40,7 @@ class LIBKPMCORE_EXPORT LvmDevice : public VolumeManagerDevice public: explicit LvmDevice(const QString& name, const QString& iconName = QString()); - ~LvmDevice(); + ~LvmDevice() override; public: const QStringList deviceNodes() const override; diff --git a/src/core/operationstack.h b/src/core/operationstack.h index 3e2e3cb..0ce0c5d 100644 --- a/src/core/operationstack.h +++ b/src/core/operationstack.h @@ -45,7 +45,7 @@ public: public: explicit OperationStack(QObject* parent = nullptr); - ~OperationStack(); + ~OperationStack() override; Q_SIGNALS: void operationsChanged(); diff --git a/src/core/partitionnode.h b/src/core/partitionnode.h index ed51787..30a0889 100644 --- a/src/core/partitionnode.h +++ b/src/core/partitionnode.h @@ -33,7 +33,7 @@ public: protected: PartitionNode() {} - virtual ~PartitionNode() {} + ~PartitionNode() override {} public: virtual bool insert(Partition* partNew); diff --git a/src/gui/partwidgetbase.h b/src/gui/partwidgetbase.h index 64536d4..fb244a5 100644 --- a/src/gui/partwidgetbase.h +++ b/src/gui/partwidgetbase.h @@ -33,7 +33,7 @@ class LIBKPMCORE_EXPORT PartWidgetBase : public QWidget protected: PartWidgetBase(QWidget* parent) : QWidget(parent) {} - virtual ~PartWidgetBase() {} + ~PartWidgetBase() override {} public: virtual qint32 borderWidth() const { diff --git a/src/jobs/job.h b/src/jobs/job.h index cc32c4d..f2a9348 100644 --- a/src/jobs/job.h +++ b/src/jobs/job.h @@ -49,7 +49,7 @@ protected: Job(); public: - virtual ~Job() {} + ~Job() override {} Q_SIGNALS: void started(); diff --git a/src/ops/operation.h b/src/ops/operation.h index 5321e07..abcf32d 100644 --- a/src/ops/operation.h +++ b/src/ops/operation.h @@ -85,7 +85,7 @@ public: protected: Operation(); - virtual ~Operation(); + ~Operation() override; Q_SIGNALS: void progress(int); diff --git a/src/util/externalcommand.h b/src/util/externalcommand.h index 516c160..f7f31c8 100644 --- a/src/util/externalcommand.h +++ b/src/util/externalcommand.h @@ -50,7 +50,7 @@ public: explicit ExternalCommand(const QString& cmd = QString(), const QStringList& args = QStringList(), const QProcess::ProcessChannelMode processChannelMode = QProcess::MergedChannels); explicit ExternalCommand(Report& report, const QString& cmd = QString(), const QStringList& args = QStringList(), const QProcess::ProcessChannelMode processChannelMode = QProcess::MergedChannels); - ~ExternalCommand(); + ~ExternalCommand() override; public: bool copyBlocks(const CopySource& source, CopyTarget& target); diff --git a/src/util/report.h b/src/util/report.h index b5ed321..04e6e3f 100644 --- a/src/util/report.h +++ b/src/util/report.h @@ -36,7 +36,7 @@ class LIBKPMCORE_EXPORT Report : public QObject public: explicit Report(Report* p, const QString& cmd = QString()); - ~Report(); + ~Report() override; Q_SIGNALS: void outputChanged();