00001
00002
00003
00004
00005
00006
00007 #ifndef VOLUMECONTROL_H
00008 #define VOLUMECONTROL_H
00009
00010
00011
00012 #include <qobject.h>
00013
00014 class VolumeControl : public QObject {
00015 Q_OBJECT
00016 public:
00017 VolumeControl();
00018 ~VolumeControl();
00019
00020
00021 void incVol( int ammount );
00022 void decVol( int ammount );
00023
00028 int volume();
00029
00030 public slots:
00031
00036 void setVolume( int volumePerc );
00037
00038 void setMute(bool);
00039
00040
00041 private:
00042
00043 int m_volumePerc;
00044
00045 };
00046
00047 #endif
00048