/usr/share/qt5/doc/qtpositioning/qgeolocation.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 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 | <?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" />
<!-- qgeolocation.cpp -->
<title>QGeoLocation Class | 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><a href="qtpositioning-module.html">C++ Classes</a></li>
<li>QGeoLocation</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="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoLocation Class</h1>
<!-- $$$QGeoLocation-brief -->
<p>The QGeoLocation class represents basic information about a location. <a href="#details">More...</a></p>
<!-- @@@QGeoLocation -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QGeoLocation></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += positioning</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.2</td></tr></table><ul>
<li><a href="qgeolocation-members.html">List of all members, including inherited members</a></li>
</ul>
<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="qgeolocation.html#QGeoLocation">QGeoLocation</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#QGeoLocation-2">QGeoLocation</a></b>(const QGeoLocation &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#dtor.QGeoLocation">~QGeoLocation</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoAddress </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#address">address</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoRectangle </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#boundingBox">boundingBox</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoCoordinate </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#coordinate">coordinate</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#isEmpty">isEmpty</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#setAddress">setAddress</a></b>(const QGeoAddress &<i> address</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#setBoundingBox">setBoundingBox</a></b>(const QGeoRectangle &<i> boundingBox</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#setCoordinate">setCoordinate</a></b>(const QGeoCoordinate &<i> coordinate</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#operator-not-eq">operator!=</a></b>(const QGeoLocation &<i> other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoLocation & </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#operator-eq">operator=</a></b>(const QGeoLocation &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeolocation.html#operator-eq-eq">operator==</a></b>(const QGeoLocation &<i> other</i>) const</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGeoLocation-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoLocation class represents basic information about a location.</p>
<p>A QGeoLocation consists of a coordinate and corresponding address, along with an optional bounding box which is the recommended region to be displayed when viewing the location.</p>
</div>
<!-- @@@QGeoLocation -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoLocation[overload1]$$$QGeoLocation -->
<h3 class="fn"><a name="QGeoLocation"></a>QGeoLocation::<span class="name">QGeoLocation</span>()</h3>
<p>Constructs an new location object.</p>
<!-- @@@QGeoLocation -->
<!-- $$$QGeoLocation$$$QGeoLocationconstQGeoLocation& -->
<h3 class="fn"><a name="QGeoLocation-2"></a>QGeoLocation::<span class="name">QGeoLocation</span>(const <span class="type">QGeoLocation</span> &<i> other</i>)</h3>
<p>Constructs a copy of <i>other</i></p>
<!-- @@@QGeoLocation -->
<!-- $$$~QGeoLocation[overload1]$$$~QGeoLocation -->
<h3 class="fn"><a name="dtor.QGeoLocation"></a>QGeoLocation::<span class="name">~QGeoLocation</span>()</h3>
<p>Destroys the location object.</p>
<!-- @@@~QGeoLocation -->
<!-- $$$address[overload1]$$$address -->
<h3 class="fn"><a name="address"></a><span class="type"><a href="qgeoaddress.html">QGeoAddress</a></span> QGeoLocation::<span class="name">address</span>() const</h3>
<p>Returns the address of the location.</p>
<p><b>See also </b><a href="qgeolocation.html#setAddress">setAddress</a>().</p>
<!-- @@@address -->
<!-- $$$boundingBox[overload1]$$$boundingBox -->
<h3 class="fn"><a name="boundingBox"></a><span class="type"><a href="qgeorectangle.html">QGeoRectangle</a></span> QGeoLocation::<span class="name">boundingBox</span>() const</h3>
<p>Returns a bounding box which represents the recommended region to display when viewing this location.</p>
<p>For example, a building's location may have a region centered around the building, but the region is large enough to show it's immediate surrounding geographical context.</p>
<p><b>See also </b><a href="qgeolocation.html#setBoundingBox">setBoundingBox</a>().</p>
<!-- @@@boundingBox -->
<!-- $$$coordinate[overload1]$$$coordinate -->
<h3 class="fn"><a name="coordinate"></a><span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> QGeoLocation::<span class="name">coordinate</span>() const</h3>
<p>Returns the coordinate of the location.</p>
<p><b>See also </b><a href="qgeolocation.html#setCoordinate">setCoordinate</a>().</p>
<!-- @@@coordinate -->
<!-- $$$isEmpty[overload1]$$$isEmpty -->
<h3 class="fn"><a name="isEmpty"></a><span class="type">bool</span> QGeoLocation::<span class="name">isEmpty</span>() const</h3>
<p>Returns true if all fields of the location are 0; otherwise returns false.</p>
<!-- @@@isEmpty -->
<!-- $$$setAddress[overload1]$$$setAddressconstQGeoAddress& -->
<h3 class="fn"><a name="setAddress"></a><span class="type">void</span> QGeoLocation::<span class="name">setAddress</span>(const <span class="type"><a href="qgeoaddress.html">QGeoAddress</a></span> &<i> address</i>)</h3>
<p>Sets the <i>address</i> of the location.</p>
<p><b>See also </b><a href="qgeolocation.html#address">address</a>().</p>
<!-- @@@setAddress -->
<!-- $$$setBoundingBox[overload1]$$$setBoundingBoxconstQGeoRectangle& -->
<h3 class="fn"><a name="setBoundingBox"></a><span class="type">void</span> QGeoLocation::<span class="name">setBoundingBox</span>(const <span class="type"><a href="qgeorectangle.html">QGeoRectangle</a></span> &<i> boundingBox</i>)</h3>
<p>Sets the <i>boundingBox</i> of the location.</p>
<p><b>See also </b><a href="qgeolocation.html#boundingBox">boundingBox</a>().</p>
<!-- @@@setBoundingBox -->
<!-- $$$setCoordinate[overload1]$$$setCoordinateconstQGeoCoordinate& -->
<h3 class="fn"><a name="setCoordinate"></a><span class="type">void</span> QGeoLocation::<span class="name">setCoordinate</span>(const <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> &<i> coordinate</i>)</h3>
<p>Sets the <i>coordinate</i> of the location.</p>
<p><b>See also </b><a href="qgeolocation.html#coordinate">coordinate</a>().</p>
<!-- @@@setCoordinate -->
<!-- $$$operator!=[overload1]$$$operator!=constQGeoLocation& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> QGeoLocation::<span class="name">operator!=</span>(const <span class="type">QGeoLocation</span> &<i> other</i>) const</h3>
<p>Returns true if this location is not equal to <i>other</i>, otherwise returns false.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQGeoLocation& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QGeoLocation</span> & QGeoLocation::<span class="name">operator=</span>(const <span class="type">QGeoLocation</span> &<i> other</i>)</h3>
<p>Assigns <i>other</i> to this location and returns a reference to this location.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQGeoLocation& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QGeoLocation::<span class="name">operator==</span>(const <span class="type">QGeoLocation</span> &<i> other</i>) const</h3>
<p>Returns true if this location is equal to <i>other</i>, otherwise returns false.</p>
<!-- @@@operator== -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</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>
|