Mercurial > hg > svgui
comparison widgets/AudioDial.h @ 1406:a18e78b9c78b fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:52:27 +0000 |
parents | 4a578a360011 |
children | 05d614f6e46d |
comparison
equal
deleted
inserted
replaced
1405:4c359c2b220c | 1406:a18e78b9c78b |
---|---|
113 | 113 |
114 void setToDefault(); | 114 void setToDefault(); |
115 | 115 |
116 protected: | 116 protected: |
117 void drawTick(QPainter &paint, double angle, int size, bool internal); | 117 void drawTick(QPainter &paint, double angle, int size, bool internal); |
118 virtual void paintEvent(QPaintEvent *); | 118 void paintEvent(QPaintEvent *) override; |
119 | 119 |
120 // Alternate mouse behavior event handlers. | 120 // Alternate mouse behavior event handlers. |
121 virtual void mousePressEvent(QMouseEvent *pMouseEvent); | 121 void mousePressEvent(QMouseEvent *pMouseEvent) override; |
122 virtual void mouseMoveEvent(QMouseEvent *pMouseEvent); | 122 void mouseMoveEvent(QMouseEvent *pMouseEvent) override; |
123 virtual void mouseReleaseEvent(QMouseEvent *pMouseEvent); | 123 void mouseReleaseEvent(QMouseEvent *pMouseEvent) override; |
124 virtual void mouseDoubleClickEvent(QMouseEvent *pMouseEvent); | 124 void mouseDoubleClickEvent(QMouseEvent *pMouseEvent) override; |
125 virtual void enterEvent(QEvent *); | 125 void enterEvent(QEvent *) override; |
126 virtual void leaveEvent(QEvent *); | 126 void leaveEvent(QEvent *) override; |
127 | 127 |
128 protected slots: | 128 protected slots: |
129 void updateMappedValue(int value); | 129 void updateMappedValue(int value); |
130 | 130 |
131 private: | 131 private: |