Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 9ee5ef51dbf4a00567f58cff4d0e160c > files > 291

qtmultimedia5-doc-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qradiodata.cpp -->
  <title>QRadioData Class | Qt Multimedia 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtmultimedia-index.html">Qt Multimedia</a></td><td ><a href="qtmultimedia-modules.html">C++ Classes</a></td><td >QRadioData</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#reimplemented-public-functions">Reimplemented Public Functions</a></li>
<li class="level1"><a href="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#reimplemented-protected-functions">Reimplemented Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QRadioData Class</h1>
<!-- $$$QRadioData-brief -->
<p>The <a href="qradiodata.html">QRadioData</a> class provides interfaces to the RDS functionality of the system radio. <a href="#details">More...</a></p>
<!-- @@@QRadioData -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QRadioData&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += multimedia</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qmediabindableinterface.html">QMediaBindableInterface</a> and </td></tr></table></div><ul>
<li><a href="qradiodata-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#Error-enum">Error</a></b> { NoError, ResourceError, OpenError, OutOfRangeError }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#ProgramType-enum">ProgramType</a></b> { Undefined, News, CurrentAffairs, Information, ..., College }</td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qradiodata.html#alternativeFrequenciesEnabled-prop">alternativeFrequenciesEnabled</a></b> : bool</li>
<li class="fn"><b><a href="qradiodata.html#programType-prop">programType</a></b> : const ProgramType</li>
<li class="fn"><b><a href="qradiodata.html#programTypeName-prop">programTypeName</a></b> : const QString</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qradiodata.html#radioText-prop">radioText</a></b> : const QString</li>
<li class="fn"><b><a href="qradiodata.html#stationId-prop">stationId</a></b> : const QString</li>
<li class="fn"><b><a href="qradiodata.html#stationName-prop">stationName</a></b> : const QString</li>
</ul>
</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#QRadioData">QRadioData</a></b>(QMediaObject *<i>mediaObject</i>, QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#dtor.QRadioData">~QRadioData</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMultimedia::AvailabilityStatus </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#availability">availability</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Error </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#error">error</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#errorString">errorString</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#alternativeFrequenciesEnabled-prop">isAlternativeFrequenciesEnabled</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ProgramType </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#programType-prop">programType</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#programTypeName-prop">programTypeName</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#radioText-prop">radioText</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#stationId-prop">stationId</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#stationName-prop">stationName</a></b>() const</td></tr>
</table></div>
<a name="reimplemented-public-functions"></a>
<h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QMediaObject *</td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#mediaObject">mediaObject</a></b>() const override</td></tr>
</table></div>
<ul>
<li class="fn">1 public function inherited from <a href="qmediabindableinterface.html#public-functions">QMediaBindableInterface</a></li>
</ul>
<a name="public-slots"></a>
<h2 id="public-slots">Public Slots</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#alternativeFrequenciesEnabled-prop">setAlternativeFrequenciesEnabled</a></b>(bool <i>enabled</i>)</td></tr>
</table></div>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#alternativeFrequenciesEnabledChanged">alternativeFrequenciesEnabledChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#error-1">error</a></b>(QRadioData::Error <i>error</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#programTypeChanged">programTypeChanged</a></b>(QRadioData::ProgramType <i>programType</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#programTypeNameChanged">programTypeNameChanged</a></b>(QString <i>programTypeName</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#radioTextChanged">radioTextChanged</a></b>(QString <i>radioText</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#stationIdChanged">stationIdChanged</a></b>(QString <i>stationId</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#stationNameChanged">stationNameChanged</a></b>(QString <i>stationName</i>)</td></tr>
</table></div>
<a name="reimplemented-protected-functions"></a>
<h2 id="reimplemented-protected-functions">Reimplemented Protected Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qradiodata.html#setMediaObject">setMediaObject</a></b>(QMediaObject *<i>mediaObject</i>) override</td></tr>
</table></div>
<ul>
<li class="fn">1 protected function inherited from <a href="qmediabindableinterface.html#protected-functions">QMediaBindableInterface</a></li>
</ul>
<a name="details"></a>
<!-- $$$QRadioData-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qradiodata.html">QRadioData</a> class provides interfaces to the RDS functionality of the system radio.</p>
<p>The radio data object will emit signals for any changes in radio data. You can enable or disable alternative frequency with <a href="qradiodata.html#alternativeFrequenciesEnabled-prop">setAlternativeFrequenciesEnabled</a>().</p>
<p>You can get a <a href="qradiodata.html">QRadioData</a> instance fromt the <a href="qradiotuner.html#radioData-prop">radioData</a> property from a <a href="qradiotuner.html">QRadioTuner</a> instance.</p>
<pre class="cpp">

  radio <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qradiotuner.html">QRadioTuner</a></span>;
  radioData <span class="operator">=</span> radio<span class="operator">-</span><span class="operator">&gt;</span>radioData();

</pre>
<p>Alternatively, you can pass an instance of <a href="qradiotuner.html">QRadioTuner</a> to the constructor to <a href="qradiodata.html">QRadioData</a>.</p>
</div>
<p><b>See also </b><a href="radiooverview.html">Radio Overview</a>.</p>
<!-- @@@QRadioData -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Error$$$NoError$$$ResourceError$$$OpenError$$$OutOfRangeError -->
<h3 class="fn" id="Error-enum"><a name="Error-enum"></a>enum QRadioData::<span class="name">Error</span></h3>
<p>Enumerates radio data error conditions.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QRadioData::NoError</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No errors have occurred.</td></tr>
<tr><td class="topAlign"><code>QRadioData::ResourceError</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">There is no radio service available.</td></tr>
<tr><td class="topAlign"><code>QRadioData::OpenError</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Unable to open radio device.</td></tr>
<tr><td class="topAlign"><code>QRadioData::OutOfRangeError</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">An attempt to set a frequency or band that is not supported by radio device.</td></tr>
</table></div>
<!-- @@@Error -->
<!-- $$$ProgramType$$$Undefined$$$News$$$CurrentAffairs$$$Information$$$Sport$$$Education$$$Drama$$$Culture$$$Science$$$Varied$$$PopMusic$$$RockMusic$$$EasyListening$$$LightClassical$$$SeriousClassical$$$OtherMusic$$$Weather$$$Finance$$$ChildrensProgrammes$$$SocialAffairs$$$Religion$$$PhoneIn$$$Travel$$$Leisure$$$JazzMusic$$$CountryMusic$$$NationalMusic$$$OldiesMusic$$$FolkMusic$$$Documentary$$$AlarmTest$$$Alarm$$$Talk$$$ClassicRock$$$AdultHits$$$SoftRock$$$Top40$$$Soft$$$Nostalgia$$$Classical$$$RhythmAndBlues$$$SoftRhythmAndBlues$$$Language$$$ReligiousMusic$$$ReligiousTalk$$$Personality$$$Public$$$College -->
<h3 class="fn" id="ProgramType-enum"><a name="ProgramType-enum"></a>enum QRadioData::<span class="name">ProgramType</span></h3>
<p>This property holds the type of the currently playing program as transmitted by the radio station. The value can be any one of the values defined in the table below.</p>
<div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
<tr><td class="topAlign"><code>QRadioData::Undefined</code></td><td class="topAlign tblval"><code>0</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::News</code></td><td class="topAlign tblval"><code>1</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::CurrentAffairs</code></td><td class="topAlign tblval"><code>2</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Information</code></td><td class="topAlign tblval"><code>3</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Sport</code></td><td class="topAlign tblval"><code>4</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Education</code></td><td class="topAlign tblval"><code>5</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Drama</code></td><td class="topAlign tblval"><code>6</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Culture</code></td><td class="topAlign tblval"><code>7</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Science</code></td><td class="topAlign tblval"><code>8</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Varied</code></td><td class="topAlign tblval"><code>9</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::PopMusic</code></td><td class="topAlign tblval"><code>10</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::RockMusic</code></td><td class="topAlign tblval"><code>11</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::EasyListening</code></td><td class="topAlign tblval"><code>12</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::LightClassical</code></td><td class="topAlign tblval"><code>13</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::SeriousClassical</code></td><td class="topAlign tblval"><code>14</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::OtherMusic</code></td><td class="topAlign tblval"><code>15</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Weather</code></td><td class="topAlign tblval"><code>16</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Finance</code></td><td class="topAlign tblval"><code>17</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::ChildrensProgrammes</code></td><td class="topAlign tblval"><code>18</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::SocialAffairs</code></td><td class="topAlign tblval"><code>19</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Religion</code></td><td class="topAlign tblval"><code>20</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::PhoneIn</code></td><td class="topAlign tblval"><code>21</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Travel</code></td><td class="topAlign tblval"><code>22</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Leisure</code></td><td class="topAlign tblval"><code>23</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::JazzMusic</code></td><td class="topAlign tblval"><code>24</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::CountryMusic</code></td><td class="topAlign tblval"><code>25</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::NationalMusic</code></td><td class="topAlign tblval"><code>26</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::OldiesMusic</code></td><td class="topAlign tblval"><code>27</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::FolkMusic</code></td><td class="topAlign tblval"><code>28</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Documentary</code></td><td class="topAlign tblval"><code>29</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::AlarmTest</code></td><td class="topAlign tblval"><code>30</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Alarm</code></td><td class="topAlign tblval"><code>31</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Talk</code></td><td class="topAlign tblval"><code>32</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::ClassicRock</code></td><td class="topAlign tblval"><code>33</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::AdultHits</code></td><td class="topAlign tblval"><code>34</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::SoftRock</code></td><td class="topAlign tblval"><code>35</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Top40</code></td><td class="topAlign tblval"><code>36</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Soft</code></td><td class="topAlign tblval"><code>37</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Nostalgia</code></td><td class="topAlign tblval"><code>38</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Classical</code></td><td class="topAlign tblval"><code>39</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::RhythmAndBlues</code></td><td class="topAlign tblval"><code>40</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::SoftRhythmAndBlues</code></td><td class="topAlign tblval"><code>41</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Language</code></td><td class="topAlign tblval"><code>42</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::ReligiousMusic</code></td><td class="topAlign tblval"><code>43</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::ReligiousTalk</code></td><td class="topAlign tblval"><code>44</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Personality</code></td><td class="topAlign tblval"><code>45</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::Public</code></td><td class="topAlign tblval"><code>46</code></td></tr>
<tr><td class="topAlign"><code>QRadioData::College</code></td><td class="topAlign tblval"><code>47</code></td></tr>
</table></div>
<!-- @@@ProgramType -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$alternativeFrequenciesEnabled-prop$$$isAlternativeFrequenciesEnabled$$$setAlternativeFrequenciesEnabledbool$$$alternativeFrequenciesEnabledChangedbool -->
<h3 class="fn" id="alternativeFrequenciesEnabled-prop"><a name="alternativeFrequenciesEnabled-prop"></a><span class="name">alternativeFrequenciesEnabled</span> : <span class="type">bool</span></h3>
<p>Is Alternative Frequency currently enabled</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isAlternativeFrequenciesEnabled</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAlternativeFrequenciesEnabled</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qradiodata.html#alternativeFrequenciesEnabledChanged">alternativeFrequenciesEnabledChanged</a></b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<!-- @@@alternativeFrequenciesEnabled -->
<!-- $$$programType-prop$$$programType$$$programTypeChangedQRadioData::ProgramType -->
<h3 class="fn" id="programType-prop"><a name="programType-prop"></a><span class="name">programType</span> : const <span class="type"><a href="qradiodata.html#ProgramType-enum">ProgramType</a></span></h3>
<p>Current Program Type</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> ProgramType </td><td class="memItemRight bottomAlign"><span class="name"><b>programType</b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qradiodata.html#programTypeChanged">programTypeChanged</a></b></span>(QRadioData::ProgramType <i>programType</i>)</td></tr>
</table></div>
<!-- @@@programType -->
<!-- $$$programTypeName-prop$$$programTypeName$$$programTypeNameChangedQString -->
<h3 class="fn" id="programTypeName-prop"><a name="programTypeName-prop"></a><span class="name">programTypeName</span> : const <span class="type">QString</span></h3>
<p>Current Program Type Name</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>programTypeName</b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qradiodata.html#programTypeNameChanged">programTypeNameChanged</a></b></span>(QString <i>programTypeName</i>)</td></tr>
</table></div>
<!-- @@@programTypeName -->
<!-- $$$radioText-prop$$$radioText$$$radioTextChangedQString -->
<h3 class="fn" id="radioText-prop"><a name="radioText-prop"></a><span class="name">radioText</span> : const <span class="type">QString</span></h3>
<p>Current Radio Text</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>radioText</b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qradiodata.html#radioTextChanged">radioTextChanged</a></b></span>(QString <i>radioText</i>)</td></tr>
</table></div>
<!-- @@@radioText -->
<!-- $$$stationId-prop$$$stationId$$$stationIdChangedQString -->
<h3 class="fn" id="stationId-prop"><a name="stationId-prop"></a><span class="name">stationId</span> : const <span class="type">QString</span></h3>
<p>Current Program Identification</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>stationId</b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qradiodata.html#stationIdChanged">stationIdChanged</a></b></span>(QString <i>stationId</i>)</td></tr>
</table></div>
<!-- @@@stationId -->
<!-- $$$stationName-prop$$$stationName$$$stationNameChangedQString -->
<h3 class="fn" id="stationName-prop"><a name="stationName-prop"></a><span class="name">stationName</span> : const <span class="type">QString</span></h3>
<p>Current Program Service</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>stationName</b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qradiodata.html#stationNameChanged">stationNameChanged</a></b></span>(QString <i>stationName</i>)</td></tr>
</table></div>
<!-- @@@stationName -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QRadioData[overload1]$$$QRadioDataQMediaObject*QObject* -->
<h3 class="fn" id="QRadioData"><a name="QRadioData"></a>QRadioData::<span class="name">QRadioData</span>(<span class="type"><a href="qmediaobject.html">QMediaObject</a></span> *<i>mediaObject</i>, <span class="type">QObject</span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs a radio data based on a <i>mediaObject</i> and <i>parent</i>.</p>
<p>The <i>mediaObject</i> should be an instance of <a href="qradiotuner.html">QRadioTuner</a>. It is preferable to use the <a href="qradiotuner.html#radioData-prop">radioData</a> property on a <a href="qradiotuner.html">QRadioTuner</a> instance to get an instance of <a href="qradiodata.html">QRadioData</a>.</p>
<p>During construction, this class is bound to the <i>mediaObject</i> using the <a href="qmediaobject.html#bind">bind()</a> method.</p>
<!-- @@@QRadioData -->
<!-- $$$~QRadioData[overload1]$$$~QRadioData -->
<h3 class="fn" id="dtor.QRadioData"><a name="dtor.QRadioData"></a>QRadioData::<span class="name">~QRadioData</span>()</h3>
<p>Destroys a radio data.</p>
<!-- @@@~QRadioData -->
<!-- $$$alternativeFrequenciesEnabledChanged -->
<h3 class="fn" id="alternativeFrequenciesEnabledChanged"><a name="alternativeFrequenciesEnabledChanged"></a><code>[signal] </code><span class="type">void</span> QRadioData::<span class="name">alternativeFrequenciesEnabledChanged</span>(<span class="type">bool</span> <i>enabled</i>)</h3>
<p>Signals that automatically tuning to alternative frequencies has been enabled or disabled according to <i>enabled</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qradiodata.html#alternativeFrequenciesEnabled-prop">alternativeFrequenciesEnabled</a>. </p><!-- @@@alternativeFrequenciesEnabledChanged -->
<!-- $$$availability[overload1]$$$availability -->
<h3 class="fn" id="availability"><a name="availability"></a><span class="type"><a href="qmultimedia.html#AvailabilityStatus-enum">QMultimedia::AvailabilityStatus</a></span> QRadioData::<span class="name">availability</span>() const</h3>
<p>Returns the availability of the radio data service.</p>
<p>A long as there is a media service which provides radio functionality, then the <a href="qmultimedia.html#AvailabilityStatus-enum">availability</a> will be that of the <a href="qradiotuner.html#availability">radio tuner</a>.</p>
<!-- @@@availability -->
<!-- $$$error[overload1]$$$error -->
<h3 class="fn" id="error"><a name="error"></a><span class="type"><a href="qradiodata.html#Error-enum">Error</a></span> QRadioData::<span class="name">error</span>() const</h3>
<p>Returns the error state of a radio data.</p>
<p><b>See also </b><a href="qradiodata.html#errorString">errorString</a>().</p>
<!-- @@@error -->
<!-- $$$error$$$errorQRadioData::Error -->
<h3 class="fn" id="error-1"><a name="error-1"></a><code>[signal] </code><span class="type">void</span> QRadioData::<span class="name">error</span>(<span class="type"><a href="qradiodata.html#Error-enum">QRadioData::Error</a></span> <i>error</i>)</h3>
<p>Signals that an <i>error</i> occurred.</p>
<p><b>Note:</b> Signal <i>error</i> is overloaded in this class. To connect to this one using the function pointer syntax, you must specify the signal type in a static cast, as shown in this example:<pre class="cpp">

  connect(radioData<span class="operator">,</span> <span class="keyword">static_cast</span><span class="operator">&lt;</span><span class="type">void</span>(<span class="type"><a href="qradiodata.html#QRadioData">QRadioData</a></span><span class="operator">::</span><span class="operator">*</span>)(<span class="type"><a href="qradiodata.html#QRadioData">QRadioData</a></span><span class="operator">::</span>Error)<span class="operator">&gt;</span>(<span class="operator">&amp;</span><span class="type"><a href="qradiodata.html#QRadioData">QRadioData</a></span><span class="operator">::</span>error)<span class="operator">,</span>
      <span class="operator">[</span><span class="operator">=</span><span class="operator">]</span>(<span class="type"><a href="qradiodata.html#QRadioData">QRadioData</a></span><span class="operator">::</span>Error error){ <span class="comment">/* ... */</span> });

</pre>
<!-- @@@error -->
<!-- $$$errorString[overload1]$$$errorString -->
<h3 class="fn" id="errorString"><a name="errorString"></a><span class="type">QString</span> QRadioData::<span class="name">errorString</span>() const</h3>
<p>Returns a description of a radio data's error state.</p>
<p><b>See also </b><a href="qradiodata.html#error">error</a>().</p>
<!-- @@@errorString -->
<!-- $$$mediaObject[overload1]$$$mediaObject -->
<h3 class="fn" id="mediaObject"><a name="mediaObject"></a><code>[override virtual] </code><span class="type"><a href="qmediaobject.html">QMediaObject</a></span> *QRadioData::<span class="name">mediaObject</span>() const</h3>
<p>Reimplemented from <a href="qmediabindableinterface.html#mediaObject">QMediaBindableInterface::mediaObject</a>().</p>
<p><b>See also </b><a href="qradiodata.html#setMediaObject">setMediaObject</a>().</p>
<!-- @@@mediaObject -->
<!-- $$$programTypeChanged -->
<h3 class="fn" id="programTypeChanged"><a name="programTypeChanged"></a><code>[signal] </code><span class="type">void</span> QRadioData::<span class="name">programTypeChanged</span>(<span class="type"><a href="qradiodata.html#ProgramType-enum">QRadioData::ProgramType</a></span> <i>programType</i>)</h3>
<p>Signals that the Program Type code has changed to <i>programType</i></p>
<p><b>Note:</b> Notifier signal for property <a href="qradiodata.html#programType-prop">programType</a>. </p><!-- @@@programTypeChanged -->
<!-- $$$programTypeNameChanged -->
<h3 class="fn" id="programTypeNameChanged"><a name="programTypeNameChanged"></a><code>[signal] </code><span class="type">void</span> QRadioData::<span class="name">programTypeNameChanged</span>(<span class="type">QString</span> <i>programTypeName</i>)</h3>
<p>Signals that the Program Type Name has changed to <i>programTypeName</i></p>
<p><b>Note:</b> Notifier signal for property <a href="qradiodata.html#programTypeName-prop">programTypeName</a>. </p><!-- @@@programTypeNameChanged -->
<!-- $$$radioTextChanged -->
<h3 class="fn" id="radioTextChanged"><a name="radioTextChanged"></a><code>[signal] </code><span class="type">void</span> QRadioData::<span class="name">radioTextChanged</span>(<span class="type">QString</span> <i>radioText</i>)</h3>
<p>Signals that the Radio Text property has changed to <i>radioText</i></p>
<p><b>Note:</b> Notifier signal for property <a href="qradiodata.html#radioText-prop">radioText</a>. </p><!-- @@@radioTextChanged -->
<!-- $$$setMediaObject[overload1]$$$setMediaObjectQMediaObject* -->
<h3 class="fn" id="setMediaObject"><a name="setMediaObject"></a><code>[override virtual protected] </code><span class="type">bool</span> QRadioData::<span class="name">setMediaObject</span>(<span class="type"><a href="qmediaobject.html">QMediaObject</a></span> *<i>mediaObject</i>)</h3>
<p>Reimplemented from <a href="qmediabindableinterface.html#setMediaObject">QMediaBindableInterface::setMediaObject</a>().</p>
<p><b>See also </b><a href="qradiodata.html#mediaObject">mediaObject</a>().</p>
<!-- @@@setMediaObject -->
<!-- $$$stationIdChanged -->
<h3 class="fn" id="stationIdChanged"><a name="stationIdChanged"></a><code>[signal] </code><span class="type">void</span> QRadioData::<span class="name">stationIdChanged</span>(<span class="type">QString</span> <i>stationId</i>)</h3>
<p>Signals that the Program Identification code has changed to <i>stationId</i></p>
<p><b>Note:</b> Notifier signal for property <a href="qradiodata.html#stationId-prop">stationId</a>. </p><!-- @@@stationIdChanged -->
<!-- $$$stationNameChanged -->
<h3 class="fn" id="stationNameChanged"><a name="stationNameChanged"></a><code>[signal] </code><span class="type">void</span> QRadioData::<span class="name">stationNameChanged</span>(<span class="type">QString</span> <i>stationName</i>)</h3>
<p>Signals that the Program Service has changed to <i>stationName</i></p>
<p><b>Note:</b> Notifier signal for property <a href="qradiodata.html#stationName-prop">stationName</a>. </p><!-- @@@stationNameChanged -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>