mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
clang-tidy : Remove redundant 'virtual' and add 'override'
This commit is contained in:
@@ -53,17 +53,17 @@ class RimTofAccumulatedPhaseFractionsPlot : public RimViewWindow
|
||||
|
||||
public:
|
||||
RimTofAccumulatedPhaseFractionsPlot();
|
||||
virtual ~RimTofAccumulatedPhaseFractionsPlot();
|
||||
~RimTofAccumulatedPhaseFractionsPlot() override;
|
||||
|
||||
void setDescription(const QString& description);
|
||||
QString description() const;
|
||||
|
||||
// RimViewWindow overrides
|
||||
|
||||
virtual QWidget* viewWidget() override;
|
||||
virtual void zoomAll() override;
|
||||
virtual QWidget* createViewWidget(QWidget* mainWindowParent) override;
|
||||
virtual void deleteViewWidget() override;
|
||||
QWidget* viewWidget() override;
|
||||
void zoomAll() override;
|
||||
QWidget* createViewWidget(QWidget* mainWindowParent) override;
|
||||
void deleteViewWidget() override;
|
||||
|
||||
void reloadFromWell();
|
||||
|
||||
@@ -74,12 +74,12 @@ public:
|
||||
protected:
|
||||
// RimViewWindow overrides
|
||||
|
||||
virtual void onLoadDataAndUpdate() override;
|
||||
virtual QImage snapshotWindowContent() override;
|
||||
void onLoadDataAndUpdate() override;
|
||||
QImage snapshotWindowContent() override;
|
||||
|
||||
// Overridden PDM methods
|
||||
virtual caf::PdmFieldHandle* userDescriptionField() { return &m_userName; }
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
caf::PdmFieldHandle* userDescriptionField() override { return &m_userName; }
|
||||
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
|
||||
private:
|
||||
caf::PdmField<bool> m_showPlotTitle;
|
||||
|
||||
Reference in New Issue
Block a user