This file is indexed.

/usr/share/qt5/doc/qtmultimedia/qmediacontent.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qmediacontent.cpp -->
  <title>QMediaContent 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 >QMediaContent</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-functions">Public 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">QMediaContent Class</h1>
<!-- $$$QMediaContent-brief -->
<p>The <a href="qmediacontent.html">QMediaContent</a> class provides access to the resources relating to a media content. <a href="#details">More...</a></p>
<!-- @@@QMediaContent -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QMediaContent&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += multimedia</td></tr></table></div><ul>
<li><a href="qmediacontent-members.html">List of all members, including inherited members</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="qmediacontent.html#QMediaContent">QMediaContent</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#QMediaContent-1">QMediaContent</a></b>(const QUrl &amp;<i>url</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#QMediaContent-2">QMediaContent</a></b>(const QNetworkRequest &amp;<i>request</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#QMediaContent-3">QMediaContent</a></b>(const QMediaResource &amp;<i>resource</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#QMediaContent-4">QMediaContent</a></b>(const QMediaResourceList &amp;<i>resources</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#QMediaContent-5">QMediaContent</a></b>(const QMediaContent &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#QMediaContent-6">QMediaContent</a></b>(QMediaPlaylist *<i>playlist</i>, const QUrl &amp;<i>contentUrl</i> = QUrl(), bool <i>takeOwnership</i> = false)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#dtor.QMediaContent">~QMediaContent</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QNetworkRequest </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#canonicalRequest">canonicalRequest</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaResource </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#canonicalResource">canonicalResource</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QUrl </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#canonicalUrl">canonicalUrl</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#isNull">isNull</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaPlaylist *</td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#playlist">playlist</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaResourceList </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#resources">resources</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#operator-not-eq">operator!=</a></b>(const QMediaContent &amp;<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaContent &amp;</td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#operator-eq">operator=</a></b>(const QMediaContent &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediacontent.html#operator-eq-eq">operator==</a></b>(const QMediaContent &amp;<i>other</i>) const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QMediaContent-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qmediacontent.html">QMediaContent</a> class provides access to the resources relating to a media content.</p>
<p><a href="qmediacontent.html">QMediaContent</a> is used within the multimedia framework as the logical handle to media content. A <a href="qmediacontent.html">QMediaContent</a> object is composed of one or more <a href="qmediaresource.html">QMediaResource</a>s where each resource provides the URL and format information of a different encoding of the content.</p>
<p>A non-null <a href="qmediacontent.html">QMediaContent</a> will always have a primary or canonical reference to the content available through the <a href="qmediacontent.html#canonicalUrl">canonicalUrl</a>() or <a href="qmediacontent.html#canonicalResource">canonicalResource</a>() methods, any additional resources are optional.</p>
<p>Alternatively <a href="qmediacontent.html">QMediaContent</a> can represent a playlist and contain a pointer to a valid <a href="qmediaplaylist.html">QMediaPlaylist</a> object. In this case URL is optional and can either be empty or point to the playlist URL.</p>
</div>
<!-- @@@QMediaContent -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QMediaContent[overload1]$$$QMediaContent -->
<h3 class="fn" id="QMediaContent"><a name="QMediaContent"></a>QMediaContent::<span class="name">QMediaContent</span>()</h3>
<p>Constructs a null <a href="qmediacontent.html">QMediaContent</a>.</p>
<!-- @@@QMediaContent -->
<!-- $$$QMediaContent$$$QMediaContentconstQUrl& -->
<h3 class="fn" id="QMediaContent-1"><a name="QMediaContent-1"></a>QMediaContent::<span class="name">QMediaContent</span>(const <span class="type"><a href="../qtcore/qurl.html">QUrl</a></span> &amp;<i>url</i>)</h3>
<p>Constructs a media content with <i>url</i> providing a reference to the content.</p>
<!-- @@@QMediaContent -->
<!-- $$$QMediaContent$$$QMediaContentconstQNetworkRequest& -->
<h3 class="fn" id="QMediaContent-2"><a name="QMediaContent-2"></a>QMediaContent::<span class="name">QMediaContent</span>(const <span class="type">QNetworkRequest</span> &amp;<i>request</i>)</h3>
<p>Constructs a media content with <i>request</i> providing a reference to the content.</p>
<p>This constructor can be used to reference media content via network protocols such as HTTP. This may include additional information required to obtain the resource, such as Cookies or HTTP headers.</p>
<!-- @@@QMediaContent -->
<!-- $$$QMediaContent$$$QMediaContentconstQMediaResource& -->
<h3 class="fn" id="QMediaContent-3"><a name="QMediaContent-3"></a>QMediaContent::<span class="name">QMediaContent</span>(const <span class="type"><a href="qmediaresource.html">QMediaResource</a></span> &amp;<i>resource</i>)</h3>
<p>Constructs a media content with <i>resource</i> providing a reference to the content.</p>
<!-- @@@QMediaContent -->
<!-- $$$QMediaContent$$$QMediaContentconstQMediaResourceList& -->
<h3 class="fn" id="QMediaContent-4"><a name="QMediaContent-4"></a>QMediaContent::<span class="name">QMediaContent</span>(const <span class="type"><a href="qmediaresource.html#QMediaResourceList-typedef">QMediaResourceList</a></span> &amp;<i>resources</i>)</h3>
<p>Constructs a media content with <i>resources</i> providing a reference to the content.</p>
<!-- @@@QMediaContent -->
<!-- $$$QMediaContent$$$QMediaContentconstQMediaContent& -->
<h3 class="fn" id="QMediaContent-5"><a name="QMediaContent-5"></a>QMediaContent::<span class="name">QMediaContent</span>(const <span class="type"><a href="qmediacontent.html#QMediaContent">QMediaContent</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a copy of the media content <i>other</i>.</p>
<!-- @@@QMediaContent -->
<!-- $$$QMediaContent$$$QMediaContentQMediaPlaylist*constQUrl&bool -->
<h3 class="fn" id="QMediaContent-6"><a name="QMediaContent-6"></a>QMediaContent::<span class="name">QMediaContent</span>(<span class="type"><a href="qmediaplaylist.html">QMediaPlaylist</a></span> *<i>playlist</i>, const <span class="type"><a href="../qtcore/qurl.html">QUrl</a></span> &amp;<i>contentUrl</i> = QUrl(), <span class="type">bool</span> <i>takeOwnership</i> = false)</h3>
<p>Constructs a media content with <i>playlist</i>.</p>
<p><i>contentUrl</i> of a playlist is an optional parameter and can be empty.</p>
<p>Set <i>takeOwnership</i> to true if you want <a href="qmediacontent.html">QMediaContent</a> to take ownership of the playlist. <i>takeOwnership</i> is set to false by default.</p>
<!-- @@@QMediaContent -->
<!-- $$$~QMediaContent[overload1]$$$~QMediaContent -->
<h3 class="fn" id="dtor.QMediaContent"><a name="dtor.QMediaContent"></a>QMediaContent::<span class="name">~QMediaContent</span>()</h3>
<p>Destroys the media content object.</p>
<!-- @@@~QMediaContent -->
<!-- $$$canonicalRequest[overload1]$$$canonicalRequest -->
<h3 class="fn" id="canonicalRequest"><a name="canonicalRequest"></a><span class="type">QNetworkRequest</span> QMediaContent::<span class="name">canonicalRequest</span>() const</h3>
<p>Returns a QNetworkRequest that represents that canonical resource for this media content.</p>
<!-- @@@canonicalRequest -->
<!-- $$$canonicalResource[overload1]$$$canonicalResource -->
<h3 class="fn" id="canonicalResource"><a name="canonicalResource"></a><span class="type"><a href="qmediaresource.html">QMediaResource</a></span> QMediaContent::<span class="name">canonicalResource</span>() const</h3>
<p>Returns a <a href="qmediaresource.html">QMediaResource</a> that represents that canonical resource for this media content.</p>
<!-- @@@canonicalResource -->
<!-- $$$canonicalUrl[overload1]$$$canonicalUrl -->
<h3 class="fn" id="canonicalUrl"><a name="canonicalUrl"></a><span class="type"><a href="../qtcore/qurl.html">QUrl</a></span> QMediaContent::<span class="name">canonicalUrl</span>() const</h3>
<p>Returns a <a href="../qtcore/qurl.html">QUrl</a> that represents that canonical resource for this media content.</p>
<!-- @@@canonicalUrl -->
<!-- $$$isNull[overload1]$$$isNull -->
<h3 class="fn" id="isNull"><a name="isNull"></a><span class="type">bool</span> QMediaContent::<span class="name">isNull</span>() const</h3>
<p>Returns true if this media content is null (uninitialized); false otherwise.</p>
<!-- @@@isNull -->
<!-- $$$playlist[overload1]$$$playlist -->
<h3 class="fn" id="playlist"><a name="playlist"></a><span class="type"><a href="qmediaplaylist.html">QMediaPlaylist</a></span> *QMediaContent::<span class="name">playlist</span>() const</h3>
<p>Returns a playlist for this media content or 0 if this <a href="qmediacontent.html">QMediaContent</a> is not a playlist.</p>
<!-- @@@playlist -->
<!-- $$$resources[overload1]$$$resources -->
<h3 class="fn" id="resources"><a name="resources"></a><span class="type"><a href="qmediaresource.html#QMediaResourceList-typedef">QMediaResourceList</a></span> QMediaContent::<span class="name">resources</span>() const</h3>
<p>Returns a list of alternative resources for this media content. The first item in this list is always the canonical resource.</p>
<!-- @@@resources -->
<!-- $$$operator!=[overload1]$$$operator!=constQMediaContent& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QMediaContent::<span class="name">operator!=</span>(const <span class="type"><a href="qmediacontent.html#QMediaContent">QMediaContent</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if <i>other</i> is not equivalent to this media content; false otherwise.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQMediaContent& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qmediacontent.html#QMediaContent">QMediaContent</a></span> &amp;QMediaContent::<span class="name">operator=</span>(const <span class="type"><a href="qmediacontent.html#QMediaContent">QMediaContent</a></span> &amp;<i>other</i>)</h3>
<p>Assigns the value of <i>other</i> to this media content.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQMediaContent& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QMediaContent::<span class="name">operator==</span>(const <span class="type"><a href="qmediacontent.html#QMediaContent">QMediaContent</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if <i>other</i> is equivalent to this media content; false otherwise.</p>
<!-- @@@operator== -->
</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>