The QRadioTunerControl class provides access to the radio tuning functionality of a QMediaService. More...
#include <QRadioTunerControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.0.
~QRadioTunerControl () | |
virtual QtMultimediaKit::AvailabilityError | availabilityError () const = 0 |
virtual QRadioTuner::Band | band () const = 0 |
virtual void | cancelSearch () = 0 |
virtual QRadioTuner::Error | error () const = 0 |
virtual QString | errorString () const = 0 |
virtual int | frequency () const = 0 |
virtual QPair<int, int> | frequencyRange ( QRadioTuner::Band band ) const = 0 |
virtual int | frequencyStep ( QRadioTuner::Band band ) const = 0 |
virtual bool | isAvailable () const = 0 |
virtual bool | isBandSupported ( QRadioTuner::Band band ) const = 0 |
virtual bool | isMuted () const = 0 |
virtual bool | isSearching () const = 0 |
virtual bool | isStereo () const = 0 |
virtual void | searchBackward () = 0 |
virtual void | searchForward () = 0 |
virtual void | setBand ( QRadioTuner::Band band ) = 0 |
virtual void | setFrequency ( int frequency ) = 0 |
virtual void | setMuted ( bool muted ) = 0 |
virtual void | setStereoMode ( QRadioTuner::StereoMode mode ) = 0 |
virtual void | setVolume ( int volume ) = 0 |
virtual int | signalStrength () const = 0 |
virtual void | start () = 0 |
virtual QRadioTuner::State | state () const = 0 |
virtual QRadioTuner::StereoMode | stereoMode () const = 0 |
virtual void | stop () = 0 |
virtual int | volume () const = 0 |
void | bandChanged ( QRadioTuner::Band band ) |
void | error ( QRadioTuner::Error error ) |
void | frequencyChanged ( int frequency ) |
void | mutedChanged ( bool muted ) |
void | searchingChanged ( bool searching ) |
void | signalStrengthChanged ( int strength ) |
void | stateChanged ( QRadioTuner::State state ) |
void | stereoStatusChanged ( bool stereo ) |
void | volumeChanged ( int volume ) |
QRadioTunerControl ( QObject * parent = 0 ) |
QRadioTunerControl_iid |
The QRadioTunerControl class provides access to the radio tuning functionality of a QMediaService.
If a QMediaService can tune an analog radio device it will implement QRadioTunerControl. This control provides a means to tune a radio device to a specific frequency as well as search forwards and backwards for a signal.
The functionality provided by this control is exposed to application code through the QRadioTuner class.
The interface name of QRadioTunerControl is com.nokia.Qt.QRadioTunerControl/1.0 as defined in QRadioTunerControl_iid.
See also QMediaService::requestControl() and QRadioTuner.
Constructs a radio tuner control with the given parent.
Destroys a radio tuner control.
Returns the error state of the radio service.
This function was introduced in Qt Mobility 1.0.
Returns the frequency band a radio tuner is tuned to.
This function was introduced in Qt Mobility 1.0.
See also setBand().
Signals that the frequency band a radio tuner is tuned to has changed.
This function was introduced in Qt Mobility 1.0.
Stops scanning for a signal.
This function was introduced in Qt Mobility 1.0.
Returns the error state of a radio tuner.
This function was introduced in Qt Mobility 1.0.
Signals that an error has occurred.
This function was introduced in Qt Mobility 1.0.
Returns a string describing a radio tuner's error state.
This function was introduced in Qt Mobility 1.0.
Returns the frequency a radio tuner is tuned to.
This function was introduced in Qt Mobility 1.0.
See also setFrequency().
Signals that the frequency a radio tuner is tuned to has changed.
This function was introduced in Qt Mobility 1.0.
Returns a frequency band's minimum and maximum frequency.
This function was introduced in Qt Mobility 1.0.
Returns the number of Hertz to increment the frequency by when stepping through frequencies within a given band.
This function was introduced in Qt Mobility 1.0.
Returns true if the radio service is ready to use.
This function was introduced in Qt Mobility 1.0.
Identifies if a frequency band is supported.
Returns true if the band is supported, and false if it is not.
This function was introduced in Qt Mobility 1.0.
Identifies if a radio tuner's audio output is muted.
Returns true if the audio is muted, and false if it is not.
This function was introduced in Qt Mobility 1.0.
Identifies if a radio tuner is currently scanning for signal.
Returns true if the tuner is scanning, and false if it is not.
This function was introduced in Qt Mobility 1.0.
Identifies if a radio tuner is receiving a stereo signal.
Returns true if the tuner is receiving a stereo signal, and false if it is not.
This function was introduced in Qt Mobility 1.0.
Signals that the muted state of a radio tuner's audio output has changed.
This function was introduced in Qt Mobility 1.0.
Starts a backwards scan for a signal, starting from the current frequency().
This function was introduced in Qt Mobility 1.0.
Starts a forward scan for a signal, starting from the current frequency().
This function was introduced in Qt Mobility 1.0.
Signals that the searching state of a radio tuner has changed.
This function was introduced in Qt Mobility 1.0.
Sets the frequecy band a radio tuner is tuned to.
Changing the frequency band will reset the frequency to the minimum frequency of the new band.
This function was introduced in Qt Mobility 1.0.
See also band().
Sets the frequency a radio tuner is tuned to.
This function was introduced in Qt Mobility 1.0.
See also frequency().
Sets the muted state of a radio tuner's audio output.
This function was introduced in Qt Mobility 1.0.
See also isMuted().
Sets a radio tuner's stereo mode.
This function was introduced in Qt Mobility 1.0.
See also stereoMode() and QRadioTuner::StereoMode.
Sets the percentage volume of a radio tuner's audio output.
This function was introduced in Qt Mobility 1.0.
See also volume().
Return a radio tuner's current signal strength as a percentage.
This function was introduced in Qt Mobility 1.0.
Signals that the percentage strength of the signal received by a radio tuner has changed.
This function was introduced in Qt Mobility 1.0.
Activate the radio device.
This function was introduced in Qt Mobility 1.0.
Returns the current radio tuner state.
This function was introduced in Qt Mobility 1.0.
Signals that the state of a radio tuner has changed.
This function was introduced in Qt Mobility 1.0.
Returns a radio tuner's stereo mode.
This function was introduced in Qt Mobility 1.0.
See also setStereoMode() and QRadioTuner::StereoMode.
Signals that the stereo state of a radio tuner has changed.
This function was introduced in Qt Mobility 1.0.
Deactivate the radio device.
This function was introduced in Qt Mobility 1.0.
Returns the volume of a radio tuner's audio output as a percentage.
This function was introduced in Qt Mobility 1.0.
See also setVolume().
Signals that the percentage volume of radio tuner's audio output has changed.
This function was introduced in Qt Mobility 1.0.
com.nokia.Qt.QRadioTunerControl/1.0
Defines the interface name of the QRadioTunerControl class.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.