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 @@ -14,43 +14,46 @@ ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #ifndef __VOLUME_APPLET_H__ #define __VOLUME_APPLET_H__ #include <qwidget.h> -#include <qpushbutton.h> #include <qframe.h> #include <qpixmap.h> #include <qguardedptr.h> #include <qtimer.h> class QSlider; class QCheckBox; class VolumeControl : public QFrame { Q_OBJECT public: VolumeControl( bool showMic=FALSE, QWidget *parent=0, const char *name=0 ); public: QSlider *slider; QSlider *mic; QCheckBox *muteBox; + QCheckBox *alarmSound; + QCheckBox *screentaps; + QCheckBox *keyclicks; + private: QPushButton *upButton; QPushButton *downButton; QTimer *rateTimer; void keyPressEvent( QKeyEvent * ); void createView(bool showMic = FALSE); private slots: void ButtonChanged(); void rateTimerDone(); @@ -85,17 +88,21 @@ private: QTimer *advancedTimer; void readSystemVolume(); void writeSystemVolume(); void mousePressEvent( QMouseEvent * ); void paintEvent( QPaintEvent* ); void readSystemMic(); void keyPressEvent ( QKeyEvent * e ); void mouseReleaseEvent( QMouseEvent *); void writeSystemMic(); +protected slots: + void alarmSoundCheckToggled(bool); + void keyclicksCheckToggled(bool); + void screentapsCheckToggled(bool); }; #endif // __VOLUME_APPLET_H__ |