Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

volumecontrol.h

Go to the documentation of this file.
00001 /*************
00002  * this is only a quick hack and will be later replaced by osound
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     // increase by "ammount"
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 

Generated on Sat Nov 5 16:17:33 2005 for OPIE by  doxygen 1.4.2