summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/axis
diff options
context:
space:
mode:
authorAlexander Volkov <avolkov@astralinux.ru>2020-06-26 17:47:24 +0300
committerAlexander Volkov <avolkov@astralinux.ru>2020-06-29 10:49:34 +0300
commit14684346ef899583008ab30c0950bd727e552c25 (patch)
treea88854c7d18551c27050869b5091bab8469b3c3e /src/datavisualization/axis
parent09e937788d0bb32a133fbf668b834fa13e7669c3 (diff)
Add missing overrideHEADdev
Change-Id: I20cec71db97cbf896255d4f6d7e947072a86e2bb Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/datavisualization/axis')
-rw-r--r--src/datavisualization/axis/qcategory3daxis_p.h6
-rw-r--r--src/datavisualization/axis/qlogvalue3daxisformatter.h10
-rw-r--r--src/datavisualization/axis/qvalue3daxis_p.h14
3 files changed, 15 insertions, 15 deletions
diff --git a/src/datavisualization/axis/qcategory3daxis_p.h b/src/datavisualization/axis/qcategory3daxis_p.h
index 2b2f2bd9..1ce8ed5e 100644
--- a/src/datavisualization/axis/qcategory3daxis_p.h
+++ b/src/datavisualization/axis/qcategory3daxis_p.h
@@ -56,9 +56,9 @@ public:
void setDataLabels(const QStringList &labels);
protected:
- virtual bool allowZero();
- virtual bool allowNegatives();
- virtual bool allowMinMaxSame();
+ bool allowZero() override;
+ bool allowNegatives() override;
+ bool allowMinMaxSame() override;
private:
QCategory3DAxis *qptr();
diff --git a/src/datavisualization/axis/qlogvalue3daxisformatter.h b/src/datavisualization/axis/qlogvalue3daxisformatter.h
index b8b5a6a7..6fd1d6c0 100644
--- a/src/datavisualization/axis/qlogvalue3daxisformatter.h
+++ b/src/datavisualization/axis/qlogvalue3daxisformatter.h
@@ -63,11 +63,11 @@ Q_SIGNALS:
void showEdgeLabelsChanged(bool enabled);
protected:
- virtual QValue3DAxisFormatter *createNewInstance() const;
- virtual void recalculate();
- virtual float positionAt(float value) const;
- virtual float valueAt(float position) const;
- virtual void populateCopy(QValue3DAxisFormatter &copy) const;
+ QValue3DAxisFormatter *createNewInstance() const override;
+ void recalculate() override;
+ float positionAt(float value) const override;
+ float valueAt(float position) const override;
+ void populateCopy(QValue3DAxisFormatter &copy) const override;
QLogValue3DAxisFormatterPrivate *dptr();
const QLogValue3DAxisFormatterPrivate *dptrc() const;
diff --git a/src/datavisualization/axis/qvalue3daxis_p.h b/src/datavisualization/axis/qvalue3daxis_p.h
index 277ffef4..de617450 100644
--- a/src/datavisualization/axis/qvalue3daxis_p.h
+++ b/src/datavisualization/axis/qvalue3daxis_p.h
@@ -53,9 +53,9 @@ public:
QValue3DAxisPrivate(QValue3DAxis *q);
virtual ~QValue3DAxisPrivate();
- virtual void setRange(float min, float max, bool suppressWarnings = false);
- virtual void setMin(float min);
- virtual void setMax (float max);
+ void setRange(float min, float max, bool suppressWarnings = false) override;
+ void setMin(float min) override;
+ void setMax (float max) override;
void emitLabelsChanged();
@@ -63,11 +63,11 @@ Q_SIGNALS:
void formatterDirty();
protected:
- virtual void updateLabels();
+ void updateLabels() override;
- virtual bool allowZero();
- virtual bool allowNegatives();
- virtual bool allowMinMaxSame();
+ bool allowZero() override;
+ bool allowNegatives() override;
+ bool allowMinMaxSame() override;
int m_segmentCount;
int m_subSegmentCount;