MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QAudioEndpointSelector Class Reference

The QAudioEndpointSelector class provides an audio endpoint selector media control. More...

 #include <QAudioEndpointSelector>

Inherits: QMediaControl.

This class was introduced in Qt Mobility 1.0.

Public Functions

virtual ~QAudioEndpointSelector ()
virtual QString activeEndpoint () const = 0
virtual QList<QString> availableEndpoints () const = 0
virtual QString defaultEndpoint () const = 0
virtual QString endpointDescription ( const QString & name ) const = 0
  • 29 public functions inherited from QObject

Public Slots

virtual void setActiveEndpoint ( const QString & name ) = 0
  • 1 public slot inherited from QObject

Signals

void activeEndpointChanged ( const QString & name )
void availableEndpointsChanged ()

Protected Functions

QAudioEndpointSelector ( QObject * parent = 0 )
  • 7 protected functions inherited from QObject

Macros

QAudioEndpointSelector_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QAudioEndpointSelector class provides an audio endpoint selector media control.

The QAudioEndpointSelector class provides descriptions of the audio endpoints available on a system and allows one to be selected as the audio of a media service.

The interface name of QAudioEndpointSelector is com.nokia.Qt.QAudioEndpointSelector/1.0 as defined in QAudioEndpointSelector_iid.

See also QMediaService::requestControl().

Member Function Documentation

QAudioEndpointSelector::QAudioEndpointSelector ( QObject * parent = 0 ) [protected]

Constructs a new audio endpoint selector with the given parent.

QAudioEndpointSelector::~QAudioEndpointSelector () [virtual]

Destroys an audio endpoint selector.

QString QAudioEndpointSelector::activeEndpoint () const [pure virtual]

Returns the name of the currently selected audio endpoint.

This function was introduced in Qt Mobility 1.0.

See also setActiveEndpoint().

void QAudioEndpointSelector::activeEndpointChanged ( const QString & name ) [signal]

Signals that the audio endpoint has changed to name.

This function was introduced in Qt Mobility 1.0.

QList<QString> QAudioEndpointSelector::availableEndpoints () const [pure virtual]

Returns a list of available audio endpoints.

This function was introduced in Qt Mobility 1.0.

void QAudioEndpointSelector::availableEndpointsChanged () [signal]

Signals that list of available endpoints has changed.

This function was introduced in Qt Mobility 1.0.

QString QAudioEndpointSelector::defaultEndpoint () const [pure virtual]

Returns the name of the default audio endpoint.

This function was introduced in Qt Mobility 1.0.

QString QAudioEndpointSelector::endpointDescription ( const QString & name ) const [pure virtual]

Returns the description of the endpoint name.

This function was introduced in Qt Mobility 1.0.

void QAudioEndpointSelector::setActiveEndpoint ( const QString & name ) [pure virtual slot]

Set the audio endpoint to name.

This function was introduced in Qt Mobility 1.0.

See also activeEndpoint().

Macro Documentation

QAudioEndpointSelector_iid

com.nokia.Qt.QAudioEndpointSelector/1.0

Defines the interface name of the QAudioEndpointSelector class.