summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/elasticnodes/graphwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/elasticnodes/graphwidget.h')
-rw-r--r--examples/widgets/graphicsview/elasticnodes/graphwidget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/widgets/graphicsview/elasticnodes/graphwidget.h b/examples/widgets/graphicsview/elasticnodes/graphwidget.h
index 2b26cb6d67..79acb89985 100644
--- a/examples/widgets/graphicsview/elasticnodes/graphwidget.h
+++ b/examples/widgets/graphicsview/elasticnodes/graphwidget.h
@@ -71,12 +71,12 @@ public slots:
void zoomOut();
protected:
- void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
- void timerEvent(QTimerEvent *event) Q_DECL_OVERRIDE;
+ void keyPressEvent(QKeyEvent *event) override;
+ void timerEvent(QTimerEvent *event) override;
#ifndef QT_NO_WHEELEVENT
- void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE;
+ void wheelEvent(QWheelEvent *event) override;
#endif
- void drawBackground(QPainter *painter, const QRectF &rect) Q_DECL_OVERRIDE;
+ void drawBackground(QPainter *painter, const QRectF &rect) override;
void scaleView(qreal scaleFactor);