Add overrides to destructors.
This commit is contained in:
parent
766105bb73
commit
ec3479f302
|
@ -47,7 +47,7 @@ class LIBKPMCORE_EXPORT CoreBackend : public QObject
|
|||
|
||||
protected:
|
||||
CoreBackend();
|
||||
virtual ~CoreBackend();
|
||||
~CoreBackend() override;
|
||||
|
||||
Q_SIGNALS:
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
public:
|
||||
explicit OperationStack(QObject* parent = nullptr);
|
||||
~OperationStack();
|
||||
~OperationStack() override;
|
||||
|
||||
Q_SIGNALS:
|
||||
void operationsChanged();
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
|
||||
protected:
|
||||
PartitionNode() {}
|
||||
virtual ~PartitionNode() {}
|
||||
~PartitionNode() override {}
|
||||
|
||||
public:
|
||||
virtual bool insert(Partition* partNew);
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -49,7 +49,7 @@ protected:
|
|||
Job();
|
||||
|
||||
public:
|
||||
virtual ~Job() {}
|
||||
~Job() override {}
|
||||
|
||||
Q_SIGNALS:
|
||||
void started();
|
||||
|
|
|
@ -85,7 +85,7 @@ public:
|
|||
|
||||
protected:
|
||||
Operation();
|
||||
virtual ~Operation();
|
||||
~Operation() override;
|
||||
|
||||
Q_SIGNALS:
|
||||
void progress(int);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue