summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-05 07:25:37 +0200
committerMontel Laurent <[email protected]>2017-06-05 07:25:37 +0200
commit02bc707e35e70d0a22dcc7a478e2c282b1fbdb21 (patch)
treecae16c8f45ed48edd61223777a2cc94092810ab5
parentf278811648c608a2e54c3ebde303d99e15f2f8d2 (diff)
-rw-r--r--src/blinken.h12
-rw-r--r--src/highscoredialog.cpp2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/blinken.h b/src/blinken.h
index 29c792f..919e842 100644
--- a/src/blinken.h
+++ b/src/blinken.h
@@ -29,14 +29,14 @@ Q_OBJECT
blinken();
~blinken();
- QSize sizeHint() const Q_DECL_OVERRIDE;
+ QSize sizeHint() const override;
protected:
- void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
- void mouseMoveEvent(QMouseEvent *e) Q_DECL_OVERRIDE;
- void mousePressEvent(QMouseEvent *e) Q_DECL_OVERRIDE;
- void keyPressEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
- void keyReleaseEvent(QKeyEvent *e) Q_DECL_OVERRIDE;
+ void paintEvent(QPaintEvent *) override;
+ void mouseMoveEvent(QMouseEvent *e) override;
+ void mousePressEvent(QMouseEvent *e) override;
+ void keyPressEvent(QKeyEvent *e) override;
+ void keyReleaseEvent(QKeyEvent *e) override;
private slots:
void checkHS();
diff --git a/src/highscoredialog.cpp b/src/highscoredialog.cpp
index a9d2908..2b736ca 100644
--- a/src/highscoredialog.cpp
+++ b/src/highscoredialog.cpp
@@ -39,7 +39,7 @@ class scoresWidget : public QWidget
QSize calcSize();
protected:
- void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
+ void paintEvent(QPaintEvent *) override;
private:
const QList< QPair<int, QString> > m_scores;