![]() |
Home · All Classes · All Functions · | ![]() |
The QAudioDeviceControl class provides an audio input/output device selector media control. More...
#include <QAudioDeviceControl>
This class is under development and is subject to change.
Inherits QMediaControl.
virtual | ~QAudioDeviceControl () |
virtual int | defaultDevice () const = 0 |
virtual QString | description ( int device ) const = 0 |
virtual int | deviceCount () const = 0 |
virtual QIcon | icon ( int device ) const = 0 |
virtual QString | name ( int device ) const = 0 |
virtual int | selectedDevice () const = 0 |
virtual void | setSelectedDevice ( int index ) = 0 |
void | devicesChanged () |
void | selectedDeviceChanged ( int index ) |
void | selectedDeviceChanged ( const QString & deviceName ) |
QAudioDeviceControl ( QObject * parent = 0 ) |
QAudioDeviceControl_iid |
The QAudioDeviceControl class provides an audio input/output device selector media control.
The QAudioDeviceControl class provides descriptions of the audio devices available on a system and allows one to be selected as the input/outut of a media service.
The interface name of QAudioDeviceControl is com.nokia.Qt.QAudioDeviceControl/1.0 as defined in QAudioDeviceControl_iid.
See also QMediaService::control().
Constructs a new audio device control with the given parent.
Destroys an audio device control.
Returns the index of the default input device.
Returns a description of a device.
Returns the number of available devices;
Signals that list of available devices was changed.
Returns an icon for a device.
Returns the name of a device.
Returns the index of the selected audio device.
See also setSelectedDevice().
Signals that the index of the selected device has changed.
Signals that the audio device has changed to deviceName.
Selects the audio device at index.
See also selectedDevice().
com.nokia.Qt.QAudioDeviceControl/1.0
Defines the interface name of the QAudioDeviceControl class.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 (Technology Preview) |