File: phonon-mediacontroller.html

package info (click to toggle)
qt4-x11 4%3A4.8.2%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 701,696 kB
  • sloc: cpp: 2,686,179; ansic: 375,485; python: 25,859; sh: 19,349; xml: 17,091; perl: 14,765; yacc: 5,383; asm: 5,038; makefile: 1,259; lex: 555; ruby: 526; objc: 347; cs: 112; pascal: 112; php: 54; sed: 34
file content (272 lines) | stat: -rw-r--r-- 23,952 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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" />
<!-- phonon-api.qdoc -->
  <title>Qt 4.8: MediaController Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="phonon.html">Phonon</a></li>
<li>MediaController</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<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="#public-functions">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="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">MediaController Class Reference</h1>
<span class="small-subtitle">(Phonon::MediaController)<br/></span>
<!-- $$$MediaController-brief -->
<p>The MediaController class controls optional features of a media file/device. <a href="#details">More...</a></p>
<!-- @@@MediaController -->
<pre class="cpp"> <span class="preprocessor">#include &lt;Phonon/MediaController&gt;</span></pre><p><b>Inherits: </b><a href="qobject.html">QObject</a>.</p>
<p>This class was introduced in Qt 4.4.</p>
<ul>
<li><a href="phonon-mediacontroller-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a></b> { Angles, Chapters, Titles }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#Feature-enum">Features</a></b></td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#MediaController">MediaController</a></b> ( MediaObject * <i>parent</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#dtor.MediaController">~MediaController</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#autoplayTitles">autoplayTitles</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#availableAngles">availableAngles</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#availableChapters">availableChapters</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#availableTitles">availableTitles</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#currentAngle">currentAngle</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#currentChapter">currentChapter</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#currentTitle">currentTitle</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Features </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#supportedFeatures">supportedFeatures</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
</ul>
<a name="public-slots"></a>
<h2>Public Slots</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#nextTitle">nextTitle</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#previousTitle">previousTitle</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#setAutoplayTitles">setAutoplayTitles</a></b> ( bool <i>enable</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#setCurrentAngle">setCurrentAngle</a></b> ( int <i>angleNumber</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#setCurrentChapter">setCurrentChapter</a></b> ( int <i>chapterNumber</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#setCurrentTitle">setCurrentTitle</a></b> ( int <i>titleNumber</i> )</td></tr>
</table>
<ul>
<li class="fn">1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#angleChanged">angleChanged</a></b> ( int <i>angleNumber</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#availableAnglesChanged">availableAnglesChanged</a></b> ( int <i>availableAngles</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#availableChaptersChanged">availableChaptersChanged</a></b> ( int <i>availableChapters</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#availableTitlesChanged">availableTitlesChanged</a></b> ( int <i>availableTitles</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#chapterChanged">chapterChanged</a></b> ( int <i>chapterNumber</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="phonon-mediacontroller.html#titleChanged">titleChanged</a></b> ( int <i>titleNumber</i> )</td></tr>
</table>
<ul>
<li class="fn">1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="qobject.html#properties">QObject</a></li>
<li class="fn">7 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li class="fn">8 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$MediaController-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The MediaController class controls optional features of a media file/device.</p>
<p>Some media sources have content that the <a href="phonon-mediaobject.html">MediaObject</a> does not provide control over, for instance, chapters in a DVD file. The functionality the media controller offers is dependent on the type of media source that is played back. Commonly, the media controller allows you to:</p>
<ul>
<li>Navigate between <b>chapters</b>.</li>
<li>Navigate between <b>titles</b>.</li>
<li>Select between <b>angles</b>.</li>
</ul>
<p>The <a href="phonon-mediacontroller.html#Feature-enum">Feature</a> enum explains these terms in more detail, and their context in playback of CD and DVD.</p>
<p>The media controller keeps a <a href="phonon-mediaobject.html">MediaObject</a>, of which <a href="phonon-mediaobject.html#currentSource">media source</a> is played back. You can still call the media object's functions, e.g&#x2e;, <a href="phonon-mediaobject.html#stop">stop()</a>; this is all handled correctly by the media controller. You have the option of letting the media controller play all titles of a source in sequence by setting the <a href="phonon-mediacontroller.html#autoplayTitles">autoplay titles</a> option.</p>
<p>To start a playback using a media object, you call <a href="phonon-mediaobject.html#play">play()</a> on the media object. To play a specific title, use <a href="phonon-mediacontroller.html#setCurrentTitle">setCurrentTitle</a>() and then call <a href="phonon-mediaobject.html#play">play()</a>.</p>
<p><b>Warning:</b> The Phonon::MediaController class is not yet supported by Qt backends.</p>
</div>
<p><b>See also </b><a href="phonon-module.html">Phonon Module</a>.</p>
<!-- @@@MediaController -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Feature$$$Angles$$$Chapters$$$Titles -->
<h3 class="flags"><a name="Feature-enum"></a>enum MediaController::<span class="name">Feature</span><br/>flags MediaController::<span class="name">Features</span></h3>
<p>The values of this enum are interpreted differently depending on the type of media source, e.g&#x2e;, DVD or CD. We give examples for these sources.</p>
<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"><tt>Phonon::MediaController::Angles</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">In the VOB (DVD) format, it is possible to to give several video streams of the same scene, each of which displays the scene from a different angle. The DVD viewer can then change between these angles.</td></tr>
<tr><td class="topAlign"><tt>Phonon::MediaController::Chapters</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">In the VOB format, chapters are points in a single video stream that can be played and seeked to separately.</td></tr>
<tr><td class="topAlign"><tt>Phonon::MediaController::Titles</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">On a CD, a title is a separate sound track. On DVD, a title is a separate VOB file.</td></tr>
</table>
<p>The Features type is a typedef for <a href="qflags.html">QFlags</a>&lt;Feature&gt;. It stores an OR combination of Feature values.</p>
<!-- @@@Feature -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$MediaController[overload1]$$$MediaControllerMediaObject* -->
<h3 class="fn"><a name="MediaController"></a>MediaController::<span class="name">MediaController</span> ( <span class="type"><a href="phonon-mediaobject.html">MediaObject</a></span> * <i>parent</i> )</h3>
<p>Constructs a new <a href="phonon-mediacontroller.html">MediaController</a> with the media object (<i>parent</i>) to be used by the media controller.</p>
<p><b>See also </b><a href="phonon-mediaobject.html">MediaObject</a> and <a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@MediaController -->
<!-- $$$~MediaController[overload1]$$$~MediaController -->
<h3 class="fn"><a name="dtor.MediaController"></a>MediaController::<span class="name">~MediaController</span> ()</h3>
<!-- @@@~MediaController -->
<!-- $$$angleChanged[overload1]$$$angleChangedint -->
<h3 class="fn"><a name="angleChanged"></a><span class="type">void</span> MediaController::<span class="name">angleChanged</span> ( <span class="type">int</span> <i>angleNumber</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the current angle changes. The new angle number is given by <i>angleNumber</i>.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@angleChanged -->
<!-- $$$autoplayTitles[overload1]$$$autoplayTitles -->
<h3 class="fn"><a name="autoplayTitles"></a><span class="type">bool</span> MediaController::<span class="name">autoplayTitles</span> () const</h3>
<p>Returns true if titles will automatically be played when the media is played; otherwise returns false.</p>
<p>The media controller will play the titles of the media source in sequence when the media object's <a href="phonon-mediaobject.html#play">play()</a> function is called. If the autoplay option is disabled, the media object will play the <a href="phonon-mediacontroller.html#currentTitle">MediaController::currentTitle()</a>{current title} and then finish the playback.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#setAutoplayTitles">setAutoplayTitles</a>() and <a href="phonon-mediacontroller.html#currentTitle">currentTitle</a>().</p>
<!-- @@@autoplayTitles -->
<!-- $$$availableAngles[overload1]$$$availableAngles -->
<h3 class="fn"><a name="availableAngles"></a><span class="type">int</span> MediaController::<span class="name">availableAngles</span> () const</h3>
<p>Returns the available angles that is available for the current media source.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@availableAngles -->
<!-- $$$availableAnglesChanged[overload1]$$$availableAnglesChangedint -->
<h3 class="fn"><a name="availableAnglesChanged"></a><span class="type">void</span> MediaController::<span class="name">availableAnglesChanged</span> ( <span class="type">int</span> <i>availableAngles</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the number of available angles changes. The new number of available angles is given by <i>availableAngles</i>.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@availableAnglesChanged -->
<!-- $$$availableChapters[overload1]$$$availableChapters -->
<h3 class="fn"><a name="availableChapters"></a><span class="type">int</span> MediaController::<span class="name">availableChapters</span> () const</h3>
<p>Returns the number of chapters the current media source contains.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@availableChapters -->
<!-- $$$availableChaptersChanged[overload1]$$$availableChaptersChangedint -->
<h3 class="fn"><a name="availableChaptersChanged"></a><span class="type">void</span> MediaController::<span class="name">availableChaptersChanged</span> ( <span class="type">int</span> <i>availableChapters</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the number of available chapters changes. The new number of available chapters is given by <i>availableChapters</i>.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@availableChaptersChanged -->
<!-- $$$availableTitles[overload1]$$$availableTitles -->
<h3 class="fn"><a name="availableTitles"></a><span class="type">int</span> MediaController::<span class="name">availableTitles</span> () const</h3>
<p>Returns the number of titles that the current media source contains.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@availableTitles -->
<!-- $$$availableTitlesChanged[overload1]$$$availableTitlesChangedint -->
<h3 class="fn"><a name="availableTitlesChanged"></a><span class="type">void</span> MediaController::<span class="name">availableTitlesChanged</span> ( <span class="type">int</span> <i>availableTitles</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the number of available titles changes. The new number of available titles is given by <i>availableTitles</i>.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@availableTitlesChanged -->
<!-- $$$chapterChanged[overload1]$$$chapterChangedint -->
<h3 class="fn"><a name="chapterChanged"></a><span class="type">void</span> MediaController::<span class="name">chapterChanged</span> ( <span class="type">int</span> <i>chapterNumber</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the current chapter changes. The new chapter number is given by <i>chapterNumber</i>.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@chapterChanged -->
<!-- $$$currentAngle[overload1]$$$currentAngle -->
<h3 class="fn"><a name="currentAngle"></a><span class="type">int</span> MediaController::<span class="name">currentAngle</span> () const</h3>
<p>Returns the angle that is currently used.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#setCurrentAngle">setCurrentAngle</a>() and <a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@currentAngle -->
<!-- $$$currentChapter[overload1]$$$currentChapter -->
<h3 class="fn"><a name="currentChapter"></a><span class="type">int</span> MediaController::<span class="name">currentChapter</span> () const</h3>
<p>Returns the chapter that is currently being played back.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#setCurrentChapter">setCurrentChapter</a>() and <a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@currentChapter -->
<!-- $$$currentTitle[overload1]$$$currentTitle -->
<h3 class="fn"><a name="currentTitle"></a><span class="type">int</span> MediaController::<span class="name">currentTitle</span> () const</h3>
<p>Returns the title that is currently played back.</p>
<p>The current title is 0 (the first) by default.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#setCurrentTitle">setCurrentTitle</a>() and <a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@currentTitle -->
<!-- $$$nextTitle[overload1]$$$nextTitle -->
<h3 class="fn"><a name="nextTitle"></a><span class="type">void</span> MediaController::<span class="name">nextTitle</span> ()<tt> [slot]</tt></h3>
<p>Skips to the next title.</p>
<p>If it was playing before the title change it will start playback on the next title if autoplayTitles is enabled.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@nextTitle -->
<!-- $$$previousTitle[overload1]$$$previousTitle -->
<h3 class="fn"><a name="previousTitle"></a><span class="type">void</span> MediaController::<span class="name">previousTitle</span> ()<tt> [slot]</tt></h3>
<p>Skips to the previous title.</p>
<p>If it was playing before the title change it will start playback on the previous title if autoplayTitles is enabled.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@previousTitle -->
<!-- $$$setAutoplayTitles[overload1]$$$setAutoplayTitlesbool -->
<h3 class="fn"><a name="setAutoplayTitles"></a><span class="type">void</span> MediaController::<span class="name">setAutoplayTitles</span> ( <span class="type">bool</span> <i>enable</i> )<tt> [slot]</tt></h3>
<p>Sets the titles to play automatically when the media is played if <i>enable</i> is true; otherwise disables this option.</p>
<p>The media controller will play the titles of the media source in sequence when the media object's <a href="phonon-mediaobject.html#play">play()</a> function is called. If the autoplay option is disabled, the media object will play the <a href="phonon-mediacontroller.html#currentTitle">MediaController::currentTitle()</a>{current title} and then finish the playback.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#autoplayTitles">autoplayTitles</a>() and <a href="phonon-mediacontroller.html#currentTitle">currentTitle</a>().</p>
<!-- @@@setAutoplayTitles -->
<!-- $$$setCurrentAngle[overload1]$$$setCurrentAngleint -->
<h3 class="fn"><a name="setCurrentAngle"></a><span class="type">void</span> MediaController::<span class="name">setCurrentAngle</span> ( <span class="type">int</span> <i>angleNumber</i> )<tt> [slot]</tt></h3>
<p>Sets the current angle to the given <i>angleNumber</i> if the media file or device supports navigation by angle number.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#currentAngle">currentAngle</a>() and <a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@setCurrentAngle -->
<!-- $$$setCurrentChapter[overload1]$$$setCurrentChapterint -->
<h3 class="fn"><a name="setCurrentChapter"></a><span class="type">void</span> MediaController::<span class="name">setCurrentChapter</span> ( <span class="type">int</span> <i>chapterNumber</i> )<tt> [slot]</tt></h3>
<p>Sets the current chapter to the given <i>chapterNumber</i> if the media file or device supports navigation by chapter number.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#currentChapter">currentChapter</a>() and <a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@setCurrentChapter -->
<!-- $$$setCurrentTitle[overload1]$$$setCurrentTitleint -->
<h3 class="fn"><a name="setCurrentTitle"></a><span class="type">void</span> MediaController::<span class="name">setCurrentTitle</span> ( <span class="type">int</span> <i>titleNumber</i> )<tt> [slot]</tt></h3>
<p>Skips to the given title <i>titleNumber</i>.</p>
<p>If it was playing before the title change it will start playback on the new title if autoplayTitles is enabled.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#currentTitle">currentTitle</a>() and <a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@setCurrentTitle -->
<!-- $$$supportedFeatures[overload1]$$$supportedFeatures -->
<h3 class="fn"><a name="supportedFeatures"></a><span class="type"><a href="phonon-mediacontroller.html#Feature-enum">Features</a></span> MediaController::<span class="name">supportedFeatures</span> () const</h3>
<!-- @@@supportedFeatures -->
<!-- $$$titleChanged[overload1]$$$titleChangedint -->
<h3 class="fn"><a name="titleChanged"></a><span class="type">void</span> MediaController::<span class="name">titleChanged</span> ( <span class="type">int</span> <i>titleNumber</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the current title changes. The new title number is given by <i>titleNumber</i>.</p>
<p><b>See also </b><a href="phonon-mediacontroller.html#Feature-enum">Feature</a>.</p>
<!-- @@@titleChanged -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2012 Nokia Corporation and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      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.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>