This file is indexed.

/usr/share/qt5/doc/qtpositioning/positioning-cpp-qml.html is in qtpositioning5-doc-html 5.3.2-2.

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
<?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" />
<!-- cpp-qml-positioning.qdoc -->
  <title>Interfaces between C++ and QML Code in Qt Positioning | QtPositioning 5.3</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.3</li>
<li><a href="qtpositioning-index.html">Qt Positioning</a></li>
<li>Interfaces between C++ and QML Code in Qt Positioning</li>
<li id="buildversion">
Qt 5.3.2 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="level2"><a href="#address-qgeoaddress">Address - QGeoAddress</a></li>
<li class="level2"><a href="#location-qgeolocation">Location - QGeoLocation</a></li>
</ul>
</div>
<h1 class="title">Interfaces between C++ and QML Code in Qt Positioning</h1>
<span class="subtitle"></span>
<!-- $$$positioning-cpp-qml.html-description -->
<div class="descr"> <a name="details"></a>
<a name="address-qgeoaddress"></a>
<h3>Address - QGeoAddress</h3>
<a name="geoaddress"></a><p>The <a href="qml-qtpositioning-address.html#address-prop">Address.address</a> property is used to provide an interface between C++ and QML code. First a pointer to a Address object must be obtained from C++, then use the property() and setProperty() functions to get and set the <tt>address</tt> property. The following gets the <a href="qgeoaddress.html">QGeoAddress</a> representing this object from C++:</p>
<pre class="cpp"> <span class="type"><a href="qgeoaddress.html">QGeoAddress</a></span> geoAddress <span class="operator">=</span> qmlObject<span class="operator">-</span><span class="operator">&gt;</span>property(<span class="string">&quot;address&quot;</span>)<span class="operator">.</span>value<span class="operator">&lt;</span><span class="type"><a href="qgeoaddress.html">QGeoAddress</a></span><span class="operator">&gt;</span>();</pre>
<p>The following sets the properties of this object based on a <a href="qgeoaddress.html">QGeoAddress</a> object from C++:</p>
<pre class="cpp">qmlObject<span class="operator">-</span><span class="operator">&gt;</span>setProperty(<span class="string">&quot;address&quot;</span><span class="operator">,</span> <span class="type">QVariant</span><span class="operator">::</span>fromValue(geoAddress));</pre>
<a name="location-qgeolocation"></a>
<h3>Location - QGeoLocation</h3>
<a name="location"></a><p>The <a href="qml-qtpositioning-location.html#location-prop">Location.location</a> property is used to provide an interface between C++ and QML code. First a pointer to a Location object must be obtained from C++, then use the property() and setProperty() functions to get and set the <tt>location</tt> property. The following gets the <a href="qgeolocation.html">QGeoLocation</a> representing this object from C++:</p>
<pre class="cpp"><span class="type"><a href="qgeolocation.html">QGeoLocation</a></span> geoLocation <span class="operator">=</span> qmlObject<span class="operator">-</span><span class="operator">&gt;</span>property(<span class="string">&quot;location&quot;</span>)<span class="operator">.</span>value<span class="operator">&lt;</span><span class="type"><a href="qgeolocation.html">QGeoLocation</a></span><span class="operator">&gt;</span>();</pre>
<p>The following sets the properties of this object based on a <a href="qgeolocation.html">QGeoLocation</a> object from C++:</p>
<pre class="cpp">qmlObject<span class="operator">-</span><span class="operator">&gt;</span>setProperty(<span class="string">&quot;location&quot;</span><span class="operator">,</span> <span class="type">QVariant</span><span class="operator">::</span>fromValue(geoLocation));</pre>
</div>
<!-- @@@positioning-cpp-qml.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2014 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>