Mercurial > hg > svgui
comparison widgets/LevelPanToolButton.h @ 1406:a18e78b9c78b fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:52:27 +0000 |
parents | 1589bc7528b7 |
children | 27ea5d61b402 |
comparison
equal
deleted
inserted
replaced
1405:4c359c2b220c | 1406:a18e78b9c78b |
---|---|
65 private slots: | 65 private slots: |
66 void selfLevelChanged(float); | 66 void selfLevelChanged(float); |
67 void selfClicked(); | 67 void selfClicked(); |
68 | 68 |
69 protected: | 69 protected: |
70 virtual void paintEvent(QPaintEvent *); | 70 void paintEvent(QPaintEvent *) override; |
71 virtual void enterEvent(QEvent *); | 71 void enterEvent(QEvent *) override; |
72 virtual void leaveEvent(QEvent *); | 72 void leaveEvent(QEvent *) override; |
73 virtual void mousePressEvent(QMouseEvent *); | 73 void mousePressEvent(QMouseEvent *) override; |
74 virtual void wheelEvent(QWheelEvent *e); | 74 void wheelEvent(QWheelEvent *e) override; |
75 | 75 |
76 LevelPanWidget *m_lpw; | 76 LevelPanWidget *m_lpw; |
77 int m_pixels; | 77 int m_pixels; |
78 int m_pixelsBig; | 78 int m_pixelsBig; |
79 bool m_muted; | 79 bool m_muted; |