Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

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
  • 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 type 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.

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.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtmobility-1.0
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web