![]() |
Home · All Namespaces · All Classes |
Provides informations and actions on PulseAudio MainVolume API. More...
#include <volumebarlogic.h>
Public Slots | |
void | setVolume (quint32 value) |
void | stepsUpdated (quint32 value, quint32 maxvalue) |
Public Member Functions | |
VolumeBarLogic (QObject *parent=NULL) | |
Construct a VolumeBarLogic instance. | |
virtual | ~VolumeBarLogic () |
Destructs a VolumeBarLogic instance. | |
quint32 | volume () |
get the current volume-level value | |
quint32 | maxVolume () |
get the current volume-level stepcount |
Provides informations and actions on PulseAudio MainVolume API.
VolumeBarLogic::VolumeBarLogic | ( | QObject * | parent = NULL |
) |
Construct a VolumeBarLogic instance.
VolumeBarLogic::~VolumeBarLogic | ( | ) | [virtual] |
Destructs a VolumeBarLogic instance.
quint32 VolumeBarLogic::maxVolume | ( | ) |
get the current volume-level stepcount
void VolumeBarLogic::setVolume | ( | quint32 | value | ) | [slot] |
a method for change the volume-level
value | The desired volume-level (valid range: [0 - maxvalue-1]) |
void VolumeBarLogic::stepsUpdated | ( | quint32 | value, | |
quint32 | maxvalue | |||
) | [slot] |
an internal slot whats stores the actual volume values and emits the volumeChanged signal [this is public because it called from a C callback function...]
value | The new volume-level what we got from PulseAudio | |
maxvalue | The new stepcount what we got from PulseAudio |
quint32 VolumeBarLogic::volume | ( | ) |
get the current volume-level value
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:13 Doxygen 1.7.1 |
MeeGo Touch |