Diffstat (limited to 'noncore/multimedia/opieplayer2/volumecontrol.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/volumecontrol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/volumecontrol.h b/noncore/multimedia/opieplayer2/volumecontrol.h index d0d34a2..040f978 100644 --- a/noncore/multimedia/opieplayer2/volumecontrol.h +++ b/noncore/multimedia/opieplayer2/volumecontrol.h | |||
@@ -1,48 +1,48 @@ | |||
1 | /************* | 1 | /************* |
2 | * this is only a quick hack and will be later replaced by osound | 2 | * this is only a quick hack and will be later replaced by osound |
3 | * | 3 | * |
4 | **********/ | 4 | **********/ |
5 | 5 | ||
6 | 6 | ||
7 | #ifndef VOLUMECONTROL_H | 7 | #ifndef VOLUMECONTROL_H |
8 | #define VOLUMECONTROL_H | 8 | #define VOLUMECONTROL_H |
9 | 9 | ||
10 | 10 | ||
11 | 11 | ||
12 | #include <qobject.h> | 12 | #include <qobject.h> |
13 | 13 | ||
14 | class VolumeControl : public QObject { | 14 | class VolumeControl : public QObject { |
15 | Q_OBJECT | 15 | Q_OBJECT |
16 | public: | 16 | public: |
17 | VolumeControl(); | 17 | VolumeControl(); |
18 | ~VolumeControl(); | 18 | ~VolumeControl(); |
19 | 19 | ||
20 | // increase by "ammount" | 20 | // increase by "ammount" |
21 | void incVol( int ammount ); | 21 | void incVol( int ammount ); |
22 | void decVol( int ammount ); | 22 | void decVol( int ammount ); |
23 | 23 | ||
24 | /** | 24 | /** |
25 | * Get the volume in percent | 25 | * Get the volume in percent |
26 | * @return volume percentage | 26 | * @return volume percentage |
27 | */ | 27 | */ |
28 | int getVolume(); | 28 | int volume(); |
29 | 29 | ||
30 | public slots: | 30 | public slots: |
31 | 31 | ||
32 | /** | 32 | /** |
33 | * Set the volume in percent | 33 | * Set the volume in percent |
34 | * @value volumePerc between 0 and 100 | 34 | * @value volumePerc between 0 and 100 |
35 | */ | 35 | */ |
36 | void setVolume( int volumePerc ); | 36 | void setVolume( int volumePerc ); |
37 | 37 | ||
38 | void setMute(bool); | 38 | void setMute(bool); |
39 | 39 | ||
40 | 40 | ||
41 | private: | 41 | private: |
42 | 42 | ||
43 | int m_volumePerc; | 43 | int m_volumePerc; |
44 | 44 | ||
45 | }; | 45 | }; |
46 | 46 | ||
47 | #endif | 47 | #endif |
48 | 48 | ||