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: protected:
CoreBackend(); CoreBackend();
virtual ~CoreBackend(); ~CoreBackend() override;
Q_SIGNALS: Q_SIGNALS:
/** /**

View File

@ -56,7 +56,7 @@ public:
public: public:
explicit Device(const Device& other); explicit Device(const Device& other);
virtual ~Device(); ~Device() override;
virtual bool operator==(const Device& other) const; virtual bool operator==(const Device& other) const;
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: public:
explicit LvmDevice(const QString& name, const QString& iconName = QString()); explicit LvmDevice(const QString& name, const QString& iconName = QString());
~LvmDevice(); ~LvmDevice() override;
public: public:
const QStringList deviceNodes() const override; const QStringList deviceNodes() const override;

View File

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

View File

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

View File

@ -33,7 +33,7 @@ class LIBKPMCORE_EXPORT PartWidgetBase : public QWidget
protected: protected:
PartWidgetBase(QWidget* parent) : QWidget(parent) {} PartWidgetBase(QWidget* parent) : QWidget(parent) {}
virtual ~PartWidgetBase() {} ~PartWidgetBase() override {}
public: public:
virtual qint32 borderWidth() const { virtual qint32 borderWidth() const {

View File

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

View File

@ -85,7 +85,7 @@ public:
protected: protected:
Operation(); Operation();
virtual ~Operation(); ~Operation() override;
Q_SIGNALS: Q_SIGNALS:
void progress(int); 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(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); explicit ExternalCommand(Report& report, const QString& cmd = QString(), const QStringList& args = QStringList(), const QProcess::ProcessChannelMode processChannelMode = QProcess::MergedChannels);
~ExternalCommand(); ~ExternalCommand() override;
public: public:
bool copyBlocks(const CopySource& source, CopyTarget& target); bool copyBlocks(const CopySource& source, CopyTarget& target);

View File

@ -36,7 +36,7 @@ class LIBKPMCORE_EXPORT Report : public QObject
public: public:
explicit Report(Report* p, const QString& cmd = QString()); explicit Report(Report* p, const QString& cmd = QString());
~Report(); ~Report() override;
Q_SIGNALS: Q_SIGNALS:
void outputChanged(); void outputChanged();