summaryrefslogtreecommitdiffstats
path: root/src/multimedia/controls/qradiotunercontrol.cpp
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2012-03-02 00:21:04 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-02 09:30:34 +0100
commit2a8463711c7fd683ddf46f716bfff47c1603e863 (patch)
tree88a504ca27afe1891cce66f678cee5be9cba7993 /src/multimedia/controls/qradiotunercontrol.cpp
parentd1b6bf5fac54a39d911079ba792ca95424c5c70c (diff)
Expose availability from the backend to C++ and QML.
The availabilityError property was static based on the service, but it can change at run time, so add the plumbing to allow the backend to report it itself. Also make sure that both QML and C++ expose the availability. The radio tuner and data controls previously had properties (but no signals) for availability - these have been removed. Change-Id: I9240cf93e2a51b14cd38642f9312ae3c75f05361 Reviewed-by: Ling Hu <ling.hu@nokia.com>
Diffstat (limited to 'src/multimedia/controls/qradiotunercontrol.cpp')
-rw-r--r--src/multimedia/controls/qradiotunercontrol.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/multimedia/controls/qradiotunercontrol.cpp b/src/multimedia/controls/qradiotunercontrol.cpp
index c86a0a1cc..c0f3cc146 100644
--- a/src/multimedia/controls/qradiotunercontrol.cpp
+++ b/src/multimedia/controls/qradiotunercontrol.cpp
@@ -100,18 +100,6 @@ QRadioTunerControl::~QRadioTunerControl()
}
/*!
- \fn bool QRadioTunerControl::isAvailable() const
-
- Returns true if the radio service is ready to use.
-*/
-
-/*!
- \fn QtMultimedia::AvailabilityError QRadioTunerControl::availabilityError() const
-
- Returns the error state of the radio service.
-*/
-
-/*!
\fn QRadioTuner::State QRadioTunerControl::state() const
Returns the current radio tuner state.
@@ -235,7 +223,7 @@ QRadioTunerControl::~QRadioTunerControl()
*/
/*!
- \fn bool QRadioTunerControl::antennaConnected() const
+ \fn bool QRadioTunerControl::isAntennaConnected() const
Identifies if there is an antenna connected to the device.