Add overrides to destructors.

This commit is contained in:
Andrius Štikonas 2020-10-24 01:33:52 +01:00
parent 766105bb73
commit ec3479f302
10 changed files with 10 additions and 10 deletions

View File

@ -47,7 +47,7 @@ class LIBKPMCORE_EXPORT CoreBackend : public QObject
protected:
CoreBackend();
virtual ~CoreBackend();
~CoreBackend() override;
Q_SIGNALS:
/**

View File

@ -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;

View File

@ -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;

View File

@ -45,7 +45,7 @@ public:
public:
explicit OperationStack(QObject* parent = nullptr);
~OperationStack();
~OperationStack() override;
Q_SIGNALS:
void operationsChanged();

View File

@ -33,7 +33,7 @@ public:
protected:
PartitionNode() {}
virtual ~PartitionNode() {}
~PartitionNode() override {}
public:
virtual bool insert(Partition* partNew);

View File

@ -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 {

View File

@ -49,7 +49,7 @@ protected:
Job();
public:
virtual ~Job() {}
~Job() override {}
Q_SIGNALS:
void started();

View File

@ -85,7 +85,7 @@ public:
protected:
Operation();
virtual ~Operation();
~Operation() override;
Q_SIGNALS:
void progress(int);

View File

@ -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);

View File

@ -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();