Mercurial > hg > svgui
comparison widgets/NotifyingCheckBox.h @ 1414:fa986b91d77f
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:51 +0000 |
parents | 05d614f6e46d |
children |
comparison
equal
deleted
inserted
replaced
1413:0930a27ebea2 | 1414:fa986b91d77f |
---|---|
11 published by the Free Software Foundation; either version 2 of the | 11 published by the Free Software Foundation; either version 2 of the |
12 License, or (at your option) any later version. See the file | 12 License, or (at your option) any later version. See the file |
13 COPYING included with this distribution for more information. | 13 COPYING included with this distribution for more information. |
14 */ | 14 */ |
15 | 15 |
16 #ifndef _NOTIFYING_CHECK_BOX_H_ | 16 #ifndef SV_NOTIFYING_CHECK_BOX_H |
17 #define _NOTIFYING_CHECK_BOX_H_ | 17 #define SV_NOTIFYING_CHECK_BOX_H |
18 | 18 |
19 #include <QCheckBox> | 19 #include <QCheckBox> |
20 | 20 |
21 /** | 21 /** |
22 * Very trivial enhancement to QCheckBox to make it emit signals when | 22 * Very trivial enhancement to QCheckBox to make it emit signals when |
36 signals: | 36 signals: |
37 void mouseEntered(); | 37 void mouseEntered(); |
38 void mouseLeft(); | 38 void mouseLeft(); |
39 | 39 |
40 protected: | 40 protected: |
41 virtual void enterEvent(QEvent *); | 41 void enterEvent(QEvent *) override; |
42 virtual void leaveEvent(QEvent *); | 42 void leaveEvent(QEvent *) override; |
43 }; | 43 }; |
44 | 44 |
45 #endif | 45 #endif |
46 | 46 |