Home · All Classes · All Functions ·

QAudioEndpointSelector Class Reference

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

    #include <QAudioEndpointSelector>

This class is under development and is subject to change.

Inherits QMediaControl.


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

Public Slots

virtual void setActiveEndpoint ( const QString & name ) = 0

Signals

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

Protected Functions

QAudioEndpointSelector ( QObject * parent = 0 )

Macros

QAudioEndpointSelector_iid

Additional Inherited Members


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::control().


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.

See also setActiveEndpoint().

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

Signals that the audio endpoint has changed to name.

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

Returns a list of available audio endpoints.

void QAudioEndpointSelector::availableEndpointsChanged ()   [signal]

Signals that list of available endpoints has changed.

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

Returns the name of the default audio endpoint.

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

Returns the description of the endpoint name.

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

Set the audio endpoint to name.

See also activeEndpoint().


Macro Documentation

QAudioEndpointSelector_iid

com.nokia.Qt.QAudioEndpointSelector/1.0

Defines the interface name of the QAudioEndpointSelector class.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0