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  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QRadioDataControl Class

The QRadioDataControl class provides access to the RDS functionality of the radio in the QMediaService. More...

 #include <QRadioDataControl>

Inherits: QMediaControl.

Public Functions

~QRadioDataControl()
virtual QRadioData::Error error() const = 0
virtual QString errorString() const = 0
virtual bool isAlternativeFrequenciesEnabled() const = 0
virtual QRadioData::ProgramType programType() const = 0
virtual QString programTypeName() const = 0
virtual QString radioText() const = 0
virtual void setAlternativeFrequenciesEnabled(bool enabled) = 0
virtual QString stationId() const = 0
virtual QString stationName() const = 0
  • 31 public functions inherited from QObject

Signals

void alternativeFrequenciesEnabledChanged(bool enabled)
void error(QRadioData::Error error)
void programTypeChanged(QRadioData::ProgramType programType)
void programTypeNameChanged(QString programTypeName)
void radioTextChanged(QString radioText)
void stationIdChanged(QString stationId)
void stationNameChanged(QString stationName)

Protected Functions

QRadioDataControl(QObject * parent = 0)
  • 9 protected functions inherited from QObject

Macros

QRadioDataControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

The QRadioDataControl class provides access to the RDS functionality of the radio in the QMediaService.

The functionality provided by this control is exposed to application code through the QRadioData class.

The interface name of QRadioDataControl is org.qt-project.qt.radiodatacontrol/5.0 as defined in QRadioDataControl_iid.

See also QMediaService::requestControl() and QRadioData.

Member Function Documentation

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

Constructs a radio data control with the given parent.

QRadioDataControl::~QRadioDataControl()

Destroys a radio data control.

void QRadioDataControl::alternativeFrequenciesEnabledChanged(bool enabled) [signal]

Signals that the alternative frequencies setting has changed to the value of enabled.

QRadioData::Error QRadioDataControl::error() const [pure virtual]

Returns the error state of a radio data.

void QRadioDataControl::error(QRadioData::Error error) [signal]

Signals that an error has occurred.

QString QRadioDataControl::errorString() const [pure virtual]

Returns a string describing a radio data's error state.

bool QRadioDataControl::isAlternativeFrequenciesEnabled() const [pure virtual]

Returns true if Alternative Frequency is currently enabled

QRadioData::ProgramType QRadioDataControl::programType() const [pure virtual]

Returns the current Program Type

void QRadioDataControl::programTypeChanged(QRadioData::ProgramType programType) [signal]

Signals that the Program Type programType has changed

QString QRadioDataControl::programTypeName() const [pure virtual]

Returns the current Program Type Name

void QRadioDataControl::programTypeNameChanged(QString programTypeName) [signal]

Signals that the Program Type Name programTypeName has changed

QString QRadioDataControl::radioText() const [pure virtual]

Returns the current Radio Text

void QRadioDataControl::radioTextChanged(QString radioText) [signal]

Signals that the Radio Text radioText has changed

void QRadioDataControl::setAlternativeFrequenciesEnabled(bool enabled) [pure virtual]

Sets the Alternative Frequency to enabled

See also isAlternativeFrequenciesEnabled().

QString QRadioDataControl::stationId() const [pure virtual]

Returns the current Program Identification

void QRadioDataControl::stationIdChanged(QString stationId) [signal]

Signals that the Program Identification stationId has changed

QString QRadioDataControl::stationName() const [pure virtual]

Returns the current Program Service

void QRadioDataControl::stationNameChanged(QString stationName) [signal]

Signals that the Program Service stationName has changed

Macro Documentation

QRadioDataControl_iid

org.qt-project.qt.radiodatacontrol/5.0

Defines the interface name of the QRadioDataControl 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 5.0-snapshot
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