summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/input
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/input
parent09e937788d0bb32a133fbf668b834fa13e7669c3 (diff)
Add missing overrideHEADdev
Change-Id: I20cec71db97cbf896255d4f6d7e947072a86e2bb Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/datavisualization/input')
-rw-r--r--src/datavisualization/input/q3dinputhandler.h8
-rw-r--r--src/datavisualization/input/qtouch3dinputhandler.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/datavisualization/input/q3dinputhandler.h b/src/datavisualization/input/q3dinputhandler.h
index df3d5cb6..bbc3ff0f 100644
--- a/src/datavisualization/input/q3dinputhandler.h
+++ b/src/datavisualization/input/q3dinputhandler.h
@@ -58,11 +58,11 @@ public:
bool isZoomAtTargetEnabled() const;
// Input event listeners
- virtual void mousePressEvent(QMouseEvent *event, const QPoint &mousePos);
- virtual void mouseReleaseEvent(QMouseEvent *event, const QPoint &mousePos);
- virtual void mouseMoveEvent(QMouseEvent *event, const QPoint &mousePos);
+ void mousePressEvent(QMouseEvent *event, const QPoint &mousePos) override;
+ void mouseReleaseEvent(QMouseEvent *event, const QPoint &mousePos) override;
+ void mouseMoveEvent(QMouseEvent *event, const QPoint &mousePos) override;
#if QT_CONFIG(wheelevent)
- virtual void wheelEvent(QWheelEvent *event);
+ void wheelEvent(QWheelEvent *event) override;
#endif
Q_SIGNALS:
diff --git a/src/datavisualization/input/qtouch3dinputhandler.h b/src/datavisualization/input/qtouch3dinputhandler.h
index 468cd67f..8ef0fcbb 100644
--- a/src/datavisualization/input/qtouch3dinputhandler.h
+++ b/src/datavisualization/input/qtouch3dinputhandler.h
@@ -45,7 +45,7 @@ public:
virtual ~QTouch3DInputHandler();
// Input event listeners
- virtual void touchEvent(QTouchEvent *event);
+ void touchEvent(QTouchEvent *event) override;
private:
Q_DISABLE_COPY(QTouch3DInputHandler)