[partition] Mark destructors override
This reduces compiler warnings related to virtual-overriding functions: all the destructors are virtual.
This commit is contained in:
parent
697ee6f65f
commit
51b47862cd
@ -28,7 +28,7 @@ class Config : public QObject
|
||||
|
||||
public:
|
||||
Config( QObject* parent );
|
||||
virtual ~Config() = default;
|
||||
~Config() override = default;
|
||||
|
||||
enum InstallChoice
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
};
|
||||
|
||||
PartitionCoreModule( QObject* parent = nullptr );
|
||||
~PartitionCoreModule();
|
||||
~PartitionCoreModule() override;
|
||||
|
||||
/**
|
||||
* @brief init performs a devices scan and initializes all KPMcore data
|
||||
|
@ -54,7 +54,7 @@ class ChoicePage : public QWidget, private Ui::ChoicePage
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ChoicePage( Config* config, QWidget* parent = nullptr );
|
||||
virtual ~ChoicePage();
|
||||
~ChoicePage() override;
|
||||
|
||||
/**
|
||||
* @brief init runs when the PartitionViewStep and the PartitionCoreModule are
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
Partition* partition,
|
||||
const QStringList& usedMountPoints,
|
||||
QWidget* parentWidget = nullptr );
|
||||
~CreatePartitionDialog();
|
||||
~CreatePartitionDialog() override;
|
||||
|
||||
/**
|
||||
* Must be called when user wants to create a partition in
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
Partition* partition,
|
||||
const QStringList& usedMountPoints,
|
||||
QWidget* parentWidget = nullptr );
|
||||
~EditExistingPartitionDialog();
|
||||
~EditExistingPartitionDialog() override;
|
||||
|
||||
void applyChanges( PartitionCoreModule* module );
|
||||
|
||||
|
@ -34,7 +34,7 @@ class PartitionPage : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PartitionPage( PartitionCoreModule* core, QWidget* parent = nullptr );
|
||||
~PartitionPage();
|
||||
~PartitionPage() override;
|
||||
|
||||
void onRevertClicked();
|
||||
|
||||
|
@ -27,7 +27,7 @@ class ReplaceWidget : public QWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ReplaceWidget( PartitionCoreModule* core, QComboBox* devicesComboBox, QWidget* parent = nullptr );
|
||||
virtual ~ReplaceWidget();
|
||||
virtual ~ReplaceWidget() override;
|
||||
|
||||
bool isNextEnabled() const;
|
||||
|
||||
|
@ -30,7 +30,7 @@ class VolumeGroupBaseDialog : public QDialog
|
||||
|
||||
public:
|
||||
explicit VolumeGroupBaseDialog( QString& vgName, QVector< const Partition* > pvList, QWidget* parent = nullptr );
|
||||
~VolumeGroupBaseDialog();
|
||||
~VolumeGroupBaseDialog() override;
|
||||
|
||||
protected:
|
||||
virtual void updateOkButton();
|
||||
|
Loading…
Reference in New Issue
Block a user