Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QCallVolume Class Reference
[QtTelephonyModule]

The QCallVolume class provides access to GSM call volume control. More...

    #include <QCallVolume>

This class is under development and is subject to change.

Inherits QCommInterface.

Inherited by QModemCallVolume.

Properties

Public Functions

Public Slots

Signals

Additional Inherited Members


Detailed Description

The QCallVolume class provides access to GSM call volume control.

The current speaker volume may be queried with speakerVolume(). The range of supported volume levels may be queried with minimumSpeakerVolume() and maximumSpeakerVolume(). The speaker volume can be set with setSpeakerVolume().

The current microphone volume may be queried with microphoneVolume(). The range of supported microphone volume levels may be queried with minimumMicrophoneVolume() and maximumMicrophoneVolume(). The microphone volume can be set with setMicrophoneVolume().

See also QCommInterface.


Property Documentation

maximumMicrophoneVolume : const int

This property holds the maximum microphone volume.

Access functions:

maximumSpeakerVolume : const int

This property holds the maximum speaker volume.

Access functions:

microphoneVolume : int

This property holds the current microphone volume.

Access functions:

minimumMicrophoneVolume : const int

This property holds the minimum microphone volume.

Access functions:

minimumSpeakerVolume : const int

This property holds the minimum speaker volume.

Access functions:

speakerVolume : int

This property holds the current speaker volume.

Access functions:


Member Function Documentation

QCallVolume::QCallVolume ( const QString & service = QString(), QObject * parent = 0, QCommInterface::Mode mode = Client )

Construct a new call volume object for service and attach it to parent. The object will be created in client mode if mode is Client, or server mode otherwise.

If service is empty, this class will use the first available service that supports call volume. If there is more than one service that supports call volume, the caller should enumerate them with QCommServiceManager::supports() and create separate QCallVolume objects for each.

See also QCommServiceManager::supports().

QCallVolume::~QCallVolume ()

Destroy this call volume object.

void QCallVolume::microphoneVolumeChanged ( int volume )   [signal]

This signal is emitted when the microphone volume changes to volume.

void QCallVolume::speakerVolumeChanged ( int volume )   [signal]

This signal is emitted when the speaker volume changes, to volume.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3