#include <volumecontrol.h>

Public Slots | |
| void | checkVolume () |
Signals | |
| void | volumeChanged (int left, int right) |
Public Member Functions | |
| VolumeControl (QObject *parent=0) | |
| ~VolumeControl () | |
| virtual void | setVolume (int left, int right)=0 |
| int | left () |
| int | right () |
Static Public Member Functions | |
| static VolumeControl * | create (QObject *parent=0) |
Protected Member Functions | |
| virtual void | volume (int *left, int *right)=0 |
| VolumeControl::VolumeControl | ( | QObject * | parent = 0 |
) |
Object constructor.
| parent | Parent object. |
| VolumeControl::~VolumeControl | ( | ) |
Destructor.
| void VolumeControl::checkVolume | ( | ) | [slot] |
Forces the volumeChanged signal to emit.
| static VolumeControl* VolumeControl::create | ( | QObject * | parent = 0 |
) | [static] |
Creates output volume control object if implemented, otherwise it creates SoftwareVolume object.
| parent | Parent object. |
| int VolumeControl::left | ( | ) |
Returns left channel volume.
| int VolumeControl::right | ( | ) |
Returns right channel volume.
| virtual void VolumeControl::setVolume | ( | int | left, | |
| int | right | |||
| ) | [pure virtual] |
Setups volume level. Subclass should reimplement this fucntion.
| left | Left channel volume level. It should be 0..100 | |
| right | Right channel volume level. It should be 0..100 |
Implemented in SoftwareVolume.
| virtual void VolumeControl::volume | ( | int * | left, | |
| int * | right | |||
| ) | [protected, pure virtual] |
Gets current volume.
| left | Pointer to the left volume level. | |
| right | Pointer to the right volume level |
Implemented in SoftwareVolume.
| void VolumeControl::volumeChanged | ( | int | left, | |
| int | right | |||
| ) | [signal] |
Emitted when volume is changed.
| left | Left channel volume level. It should be 0..100 | |
| right | Right channel volume level. It should be 0..100 |
1.5.9