IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QRadioDataControl Class

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

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QRadioDataControl Class

  • Header: QRadioDataControl

  • qmake: QT += multimedia

  • Inherits: QMediaControl

  • Group: QRadioDataControl is part of multimedia_control

Detailed Description

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

Member Function Documentation

 

[explicit protected] QRadioDataControl::QRadioDataControl(QObject *parent = nullptr)

Constructs a radio data control with the given parent.

[virtual] QRadioDataControl::~QRadioDataControl()

Destroys a radio data control.

void QRadioDataControl::alternativeFrequenciesEnabledChanged(bool enabled)

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

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

Returns the error state of a radio data.

void QRadioDataControl::error(QRadioData::Error error)

Signals that an error has occurred.

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

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

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

Returns true if Alternative Frequency is currently enabled

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

Returns the current Program Type

void QRadioDataControl::programTypeChanged(QRadioData::ProgramType programType)

Signals that the Program Type programType has changed

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

Returns the current Program Type Name

void QRadioDataControl::programTypeNameChanged(QString programTypeName)

Signals that the Program Type Name programTypeName has changed

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

Returns the current Radio Text

void QRadioDataControl::radioTextChanged(QString radioText)

Signals that the Radio Text radioText has changed

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

Sets the Alternative Frequency to enabled

See Also

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

Returns the current Program Identification

void QRadioDataControl::stationIdChanged(QString stationId)

Signals that the Program Identification stationId has changed

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

Returns the current Program Service

void QRadioDataControl::stationNameChanged(QString stationName)

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+