/usr/share/qt5/doc/qtmultimedia/qml-qtmultimedia-radiodata.html is in qtmultimedia5-doc-html 5.2.1-0ubuntu5.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativeradiodata.cpp -->
<title>RadioData | QtMultimedia 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtmultimedia-index.html">Qt Multimedia</a></li>
<li><a href="qtmultimedia-qmlmodule.html">QML Types</a></li>
<li>RadioData</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">RadioData</h1>
<span class="subtitle"></span>
<!-- $$$RadioData-brief -->
<p>Access RDS data from a QML application. <a href="#details">More...</a></p>
<!-- @@@RadioData -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> </b><tt>import QtMultimedia 5.0</tt></td></tr></table><ul>
<li><a href="qml-qtmultimedia-radiodata-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtmultimedia-radiodata.html#alternativeFrequenciesEnabled-prop">alternativeFrequenciesEnabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-radiodata.html#availability-prop">availability</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-radiodata.html#programType-prop">programType</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-radiodata.html#programTypeName-prop">programTypeName</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-radiodata.html#radioText-prop">radioText</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-radiodata.html#stationId-prop">stationId</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-radiodata.html#stationName-prop">stationName</a></b></b> : string</li>
</ul>
<!-- $$$RadioData-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>This type is part of the <b><a href="qtmultimedia-module.html">QtMultimedia</a> 5.0</b> module.</p>
<p><tt>RadioData</tt> is your gateway to all the data available through RDS. RDS is the Radio Data System which allows radio stations to broadcast information like the <a href="qml-qtmultimedia-radiodata.html#stationId-prop">stationId</a>, <a href="qml-qtmultimedia-radiodata.html#programType-prop">programType</a>, <a href="qml-qtmultimedia-radiodata.html#programTypeName-prop">programTypeName</a>, <a href="qml-qtmultimedia-radiodata.html#stationName-prop">stationName</a>, and <a href="qml-qtmultimedia-radiodata.html#radioText-prop">radioText</a>. This information can be read from the <tt>RadioData</tt>. It also allows you to set whether the radio should tune to alternative frequencies if the current signal strength falls too much.</p>
<pre class="qml">import QtQuick 2.0
import QtMultimedia 5.0
<span class="type">Rectangle</span> {
<span class="name">width</span>: <span class="number">480</span>
<span class="name">height</span>: <span class="number">320</span>
<span class="type"><a href="qml-qtmultimedia-radio.html">Radio</a></span> {
<span class="name">id</span>: <span class="name">radio</span>
<span class="name">band</span>: <span class="name">Radio</span>.<span class="name">FM</span>
}
<span class="type">Column</span> {
<span class="type">Text</span> {
<span class="name">text</span>: <span class="name">radio</span>.<span class="name">radioData</span>.<span class="name">stationName</span>
}
<span class="type">Text</span> {
<span class="name">text</span>: <span class="name">radio</span>.<span class="name">radioData</span>.<span class="name">programTypeName</span>
}
<span class="type">Text</span> {
<span class="name">text</span>: <span class="name">radio</span>.<span class="name">radioData</span>.<span class="name">radioText</span>
}
}
}</pre>
<p>You use <tt>RadioData</tt> together with a <a href="qml-qtmultimedia-radio.html">Radio</a>, either by accessing the <tt>radioData</tt> property of the Radio, or creating a separate RadioData. The properties of the RadioData type will reflect the information broadcast by the radio station the Radio is currently tuned to.</p>
<p><b>See also </b><a href="radiooverview.html">Radio Overview</a>.</p>
<!-- @@@RadioData -->
<h2>Property Documentation</h2>
<!-- $$$alternativeFrequenciesEnabled -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="alternativeFrequenciesEnabled-prop"></a><span class="name">alternativeFrequenciesEnabled</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property allows you to specify whether the radio should try and tune to alternative frequencies if the signal strength of the current station becomes too weak. The alternative frequencies are emitted over RDS by the radio station, and the tuning happens automatically.</p>
</div></div><!-- @@@alternativeFrequenciesEnabled -->
<br/>
<!-- $$$availability -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="availability-prop"></a><span class="name">availability</span> : <span class="type">enumeration</span></p></td></tr></table></div><div class="qmldoc"><p>Returns the availability state of the radio data interface.</p>
<p>This is one of:</p>
<table class="generic">
<thead><tr class="qt-style"><th >Value</th><th >Description</th></tr></thead>
<tr valign="top" class="odd"><td >Available</td><td >The radio data interface is available to use</td></tr>
<tr valign="top" class="even"><td >Busy</td><td >The radio data interface is usually available to use, but is currently busy.</td></tr>
<tr valign="top" class="odd"><td >Unavailable</td><td >The radio data interface is not available to use (there may be no radio hardware)</td></tr>
<tr valign="top" class="even"><td >ResourceMissing</td><td >There is one or more resources missing, so the radio cannot be used. It may be possible to try again at a later time.</td></tr>
</table>
</div></div><!-- @@@availability -->
<br/>
<!-- $$$programType -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="programType-prop"></a><span class="name">programType</span> : <span class="type">enumeration</span></p></td></tr></table></div><div class="qmldoc"><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>
<table class="generic">
<thead><tr class="qt-style"><th >Value</th></tr></thead>
<tr valign="top" class="odd"><td >Undefined</td></tr>
<tr valign="top" class="even"><td >News</td></tr>
<tr valign="top" class="odd"><td >CurrentAffairs</td></tr>
<tr valign="top" class="even"><td >Information</td></tr>
<tr valign="top" class="odd"><td >Sport</td></tr>
<tr valign="top" class="even"><td >Education</td></tr>
<tr valign="top" class="odd"><td >Drama</td></tr>
<tr valign="top" class="even"><td >Culture</td></tr>
<tr valign="top" class="odd"><td >Science</td></tr>
<tr valign="top" class="even"><td >Varied</td></tr>
<tr valign="top" class="odd"><td >PopMusic</td></tr>
<tr valign="top" class="even"><td >RockMusic</td></tr>
<tr valign="top" class="odd"><td >EasyListening</td></tr>
<tr valign="top" class="even"><td >LightClassical</td></tr>
<tr valign="top" class="odd"><td >SeriousClassical</td></tr>
<tr valign="top" class="even"><td >OtherMusic</td></tr>
<tr valign="top" class="odd"><td >Weather</td></tr>
<tr valign="top" class="even"><td >Finance</td></tr>
<tr valign="top" class="odd"><td >ChildrensProgrammes</td></tr>
<tr valign="top" class="even"><td >SocialAffairs</td></tr>
<tr valign="top" class="odd"><td >Religion</td></tr>
<tr valign="top" class="even"><td >PhoneIn</td></tr>
<tr valign="top" class="odd"><td >Travel</td></tr>
<tr valign="top" class="even"><td >Leisure</td></tr>
<tr valign="top" class="odd"><td >JazzMusic</td></tr>
<tr valign="top" class="even"><td >CountryMusic</td></tr>
<tr valign="top" class="odd"><td >NationalMusic</td></tr>
<tr valign="top" class="even"><td >OldiesMusic</td></tr>
<tr valign="top" class="odd"><td >FolkMusic</td></tr>
<tr valign="top" class="even"><td >Documentary</td></tr>
<tr valign="top" class="odd"><td >AlarmTest</td></tr>
<tr valign="top" class="even"><td >Alarm</td></tr>
<tr valign="top" class="odd"><td >Talk</td></tr>
<tr valign="top" class="even"><td >ClassicRock</td></tr>
<tr valign="top" class="odd"><td >AdultHits</td></tr>
<tr valign="top" class="even"><td >SoftRock</td></tr>
<tr valign="top" class="odd"><td >Top40</td></tr>
<tr valign="top" class="even"><td >Soft</td></tr>
<tr valign="top" class="odd"><td >Nostalgia</td></tr>
<tr valign="top" class="even"><td >Classical</td></tr>
<tr valign="top" class="odd"><td >RhythmAndBlues</td></tr>
<tr valign="top" class="even"><td >SoftRhythmAndBlues</td></tr>
<tr valign="top" class="odd"><td >Language</td></tr>
<tr valign="top" class="even"><td >ReligiousMusic</td></tr>
<tr valign="top" class="odd"><td >ReligiousTalk</td></tr>
<tr valign="top" class="even"><td >Personality</td></tr>
<tr valign="top" class="odd"><td >Public</td></tr>
<tr valign="top" class="even"><td >College</td></tr>
</table>
</div></div><!-- @@@programType -->
<br/>
<!-- $$$programTypeName -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="programTypeName-prop"></a><span class="name">programTypeName</span> : <span class="type">string</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds a string representation of the <a href="qml-qtmultimedia-radiodata.html#programType-prop">programType</a>.</p>
</div></div><!-- @@@programTypeName -->
<br/>
<!-- $$$radioText -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="radioText-prop"></a><span class="name">radioText</span> : <span class="type">string</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds free-text transmitted by the radio station. This is typically used to show supporting information for the currently playing content, for instance song title or artist name.</p>
</div></div><!-- @@@radioText -->
<br/>
<!-- $$$stationId -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="stationId-prop"></a><span class="name">stationId</span> : <span class="type">string</span></p></td></tr></table></div><div class="qmldoc"><p>This property allows you to read the station Id of the currently tuned radio station.</p>
</div></div><!-- @@@stationId -->
<br/>
<!-- $$$stationName -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="stationName-prop"></a><span class="name">stationName</span> : <span class="type">string</span></p></td></tr></table></div><div class="qmldoc"><p>This property has the name of the currently tuned radio station.</p>
</div></div><!-- @@@stationName -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|