qtmobility/src/multimedia/qradiotuner.cpp
changeset 5 453da2cfceef
parent 4 90517678cc4f
child 11 06b8e2af4411
equal deleted inserted replaced
4:90517678cc4f 5:453da2cfceef
    45 #include "qradiotunercontrol.h"
    45 #include "qradiotunercontrol.h"
    46 
    46 
    47 #include <QPair>
    47 #include <QPair>
    48 
    48 
    49 
    49 
    50 QTM_BEGIN_NAMESPACE
    50 QT_BEGIN_NAMESPACE
    51 
    51 
    52 /*!
    52 /*!
    53     \class QRadioTuner
    53     \class QRadioTuner
    54     \brief The QRadioTuner class provides an interface to the systems analog radio device.
    54     \brief The QRadioTuner class provides an interface to the systems analog radio device.
    55 
    55 
   139 }
   139 }
   140 
   140 
   141 /*!
   141 /*!
   142     Returns the availability error state.
   142     Returns the availability error state.
   143 */
   143 */
   144 QtMedia::AvailabilityError QRadioTuner::availabilityError() const
   144 QtMediaServices::AvailabilityError QRadioTuner::availabilityError() const
   145 {
   145 {
   146     if (d_func()->control != NULL)
   146     if (d_func()->control != NULL)
   147         return d_func()->control->availabilityError();
   147         return d_func()->control->availabilityError();
   148     else
   148     else
   149         return QtMedia::ServiceMissingError;
   149         return QtMediaServices::ServiceMissingError;
   150 }
   150 }
   151 
   151 
   152 /*!
   152 /*!
   153     \property QRadioTuner::state
   153     \property QRadioTuner::state
   154     Return the current radio tuner state.
   154     Return the current radio tuner state.
   578 /*! \fn void QRadioTuner::stateChanged(QRadioTuner::State state)
   578 /*! \fn void QRadioTuner::stateChanged(QRadioTuner::State state)
   579   This signal is emitted when the state changes to \a state.
   579   This signal is emitted when the state changes to \a state.
   580  */
   580  */
   581 
   581 
   582 #include "moc_qradiotuner.cpp"
   582 #include "moc_qradiotuner.cpp"
   583 QTM_END_NAMESPACE
   583 QT_END_NAMESPACE
   584 
   584