Diffstat (limited to 'core/applets/volumeapplet/volume.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/volumeapplet/volume.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/applets/volumeapplet/volume.h b/core/applets/volumeapplet/volume.h index 3a2da43..6e631f2 100644 --- a/core/applets/volumeapplet/volume.h +++ b/core/applets/volumeapplet/volume.h | |||
@@ -18,17 +18,16 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef __VOLUME_APPLET_H__ | 21 | #ifndef __VOLUME_APPLET_H__ |
22 | #define __VOLUME_APPLET_H__ | 22 | #define __VOLUME_APPLET_H__ |
23 | 23 | ||
24 | 24 | ||
25 | #include <qwidget.h> | 25 | #include <qwidget.h> |
26 | #include <qpushbutton.h> | ||
27 | #include <qframe.h> | 26 | #include <qframe.h> |
28 | #include <qpixmap.h> | 27 | #include <qpixmap.h> |
29 | #include <qguardedptr.h> | 28 | #include <qguardedptr.h> |
30 | #include <qtimer.h> | 29 | #include <qtimer.h> |
31 | 30 | ||
32 | class QSlider; | 31 | class QSlider; |
33 | class QCheckBox; | 32 | class QCheckBox; |
34 | 33 | ||
@@ -37,16 +36,20 @@ class VolumeControl : public QFrame | |||
37 | Q_OBJECT | 36 | Q_OBJECT |
38 | public: | 37 | public: |
39 | VolumeControl( bool showMic=FALSE, QWidget *parent=0, const char *name=0 ); | 38 | VolumeControl( bool showMic=FALSE, QWidget *parent=0, const char *name=0 ); |
40 | 39 | ||
41 | public: | 40 | public: |
42 | QSlider *slider; | 41 | QSlider *slider; |
43 | QSlider *mic; | 42 | QSlider *mic; |
44 | QCheckBox *muteBox; | 43 | QCheckBox *muteBox; |
44 | QCheckBox *alarmSound; | ||
45 | QCheckBox *screentaps; | ||
46 | QCheckBox *keyclicks; | ||
47 | |||
45 | 48 | ||
46 | private: | 49 | private: |
47 | QPushButton *upButton; | 50 | QPushButton *upButton; |
48 | QPushButton *downButton; | 51 | QPushButton *downButton; |
49 | QTimer *rateTimer; | 52 | QTimer *rateTimer; |
50 | 53 | ||
51 | void keyPressEvent( QKeyEvent * ); | 54 | void keyPressEvent( QKeyEvent * ); |
52 | void createView(bool showMic = FALSE); | 55 | void createView(bool showMic = FALSE); |
@@ -89,13 +92,17 @@ private: | |||
89 | void mousePressEvent( QMouseEvent * ); | 92 | void mousePressEvent( QMouseEvent * ); |
90 | void paintEvent( QPaintEvent* ); | 93 | void paintEvent( QPaintEvent* ); |
91 | 94 | ||
92 | void readSystemMic(); | 95 | void readSystemMic(); |
93 | void keyPressEvent ( QKeyEvent * e ); | 96 | void keyPressEvent ( QKeyEvent * e ); |
94 | void mouseReleaseEvent( QMouseEvent *); | 97 | void mouseReleaseEvent( QMouseEvent *); |
95 | void writeSystemMic(); | 98 | void writeSystemMic(); |
96 | 99 | ||
100 | protected slots: | ||
101 | void alarmSoundCheckToggled(bool); | ||
102 | void keyclicksCheckToggled(bool); | ||
103 | void screentapsCheckToggled(bool); | ||
97 | }; | 104 | }; |
98 | 105 | ||
99 | 106 | ||
100 | #endif // __VOLUME_APPLET_H__ | 107 | #endif // __VOLUME_APPLET_H__ |
101 | 108 | ||