/usr/share/qt5/doc/qtmultimedia/qradiodata.html is in qtmultimedia5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 | <?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.5 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 <QRadioData></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="../qtcore/qobject.html">QObject</a> and <a href="qmediabindableinterface.html">QMediaBindableInterface</a></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>
<ul>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
</ul>
<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">32 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
<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>
<ul>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
</ul>
<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>
<ul>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
</ul>
<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">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="qmediabindableinterface.html#protected-functions">QMediaBindableInterface</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="qmediabindableinterface.html#protected-functions">QMediaBindableInterface</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</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">></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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qobject.html#QObject">QObject</a></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"><</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">></span>(<span class="operator">&</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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qstring.html">QString</a></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"><a href="../qtcore/qstring.html">QString</a></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">©</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>
|