/usr/share/qt5/doc/qtlocation/qplacesupplier.html is in qtlocation5-doc-html 5.2.1-1ubuntu2.
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 | <?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" />
<!-- qplacesupplier.cpp -->
<title>QPlaceSupplier Class | QtLocation 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="qtlocation-index.html">Qt Location</a></li>
<li><a href="qtlocation-module.html">C++ Classes</a></li>
<li>QPlaceSupplier</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="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QPlaceSupplier Class</h1>
<!-- $$$QPlaceSupplier-brief -->
<p>The QPlaceSupplier class represents a supplier of a place or content associated with a place. <a href="#details">More...</a></p>
<!-- @@@QPlaceSupplier -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QPlaceSupplier></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += location</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt Location 5.0</td></tr></table><ul>
<li><a href="qplacesupplier-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="qplacesupplier.html#QPlaceSupplier">QPlaceSupplier</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#QPlaceSupplier-2">QPlaceSupplier</a></b>(const QPlaceSupplier &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#dtor.QPlaceSupplier">~QPlaceSupplier</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPlaceIcon </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#icon">icon</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#isEmpty">isEmpty</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#name">name</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#setIcon">setIcon</a></b>(const QPlaceIcon &<i> icon</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#setName">setName</a></b>(const QString &<i> name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#setSupplierId">setSupplierId</a></b>(const QString &<i> identifier</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#setUrl">setUrl</a></b>(const QUrl &<i> url</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#supplierId">supplierId</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QUrl </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#url">url</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#operator-not-eq">operator!=</a></b>(const QPlaceSupplier &<i> other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPlaceSupplier & </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#operator-eq">operator=</a></b>(const QPlaceSupplier &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qplacesupplier.html#operator-eq-eq">operator==</a></b>(const QPlaceSupplier &<i> other</i>) const</td></tr>
</table>
<a name="details"></a>
<!-- $$$QPlaceSupplier-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QPlaceSupplier class represents a supplier of a place or content associated with a place.</p>
<p>Each instance represents a set of data about a supplier, which can include supplier's name, url and icon. The supplier is typically a business or organization.</p>
<p>Note: The Places API only supports suppliers as 'retrieve-only' objects. Submitting suppliers to a provider is not a supported use case.</p>
</div>
<!-- @@@QPlaceSupplier -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPlaceSupplier[overload1]$$$QPlaceSupplier -->
<h3 class="fn"><a name="QPlaceSupplier"></a>QPlaceSupplier::<span class="name">QPlaceSupplier</span>()</h3>
<p>Constructs a new supplier object.</p>
<!-- @@@QPlaceSupplier -->
<!-- $$$QPlaceSupplier$$$QPlaceSupplierconstQPlaceSupplier& -->
<h3 class="fn"><a name="QPlaceSupplier-2"></a>QPlaceSupplier::<span class="name">QPlaceSupplier</span>(const <span class="type">QPlaceSupplier</span> &<i> other</i>)</h3>
<p>Constructs a copy of <i>other</i>.</p>
<!-- @@@QPlaceSupplier -->
<!-- $$$~QPlaceSupplier[overload1]$$$~QPlaceSupplier -->
<h3 class="fn"><a name="dtor.QPlaceSupplier"></a>QPlaceSupplier::<span class="name">~QPlaceSupplier</span>()</h3>
<p>Destroys the supplier object.</p>
<!-- @@@~QPlaceSupplier -->
<!-- $$$icon[overload1]$$$icon -->
<h3 class="fn"><a name="icon"></a><span class="type"><a href="qplaceicon.html">QPlaceIcon</a></span> QPlaceSupplier::<span class="name">icon</span>() const</h3>
<p>Returns the icon of the supplier.</p>
<p><b>See also </b><a href="qplacesupplier.html#setIcon">setIcon</a>().</p>
<!-- @@@icon -->
<!-- $$$isEmpty[overload1]$$$isEmpty -->
<h3 class="fn"><a name="isEmpty"></a><span class="type">bool</span> QPlaceSupplier::<span class="name">isEmpty</span>() const</h3>
<p>Returns true if all fields of the place supplier are 0; otherwise returns false.</p>
<!-- @@@isEmpty -->
<!-- $$$name[overload1]$$$name -->
<h3 class="fn"><a name="name"></a><span class="type">QString</span> QPlaceSupplier::<span class="name">name</span>() const</h3>
<p>Returns the name of the supplier which can be displayed to the user.</p>
<p>The name can potentially be localized. The language is dependent on the entity that sets it, typically this is the <a href="qplacemanager.html">QPlaceManager</a>. The <a href="qplacemanager.html#locales">QPlaceManager::locales</a>() field defines what language is used.</p>
<p><b>See also </b><a href="qplacesupplier.html#setName">setName</a>().</p>
<!-- @@@name -->
<!-- $$$setIcon[overload1]$$$setIconconstQPlaceIcon& -->
<h3 class="fn"><a name="setIcon"></a><span class="type">void</span> QPlaceSupplier::<span class="name">setIcon</span>(const <span class="type"><a href="qplaceicon.html">QPlaceIcon</a></span> &<i> icon</i>)</h3>
<p>Sets the <i>icon</i> of the supplier.</p>
<p><b>See also </b><a href="qplacesupplier.html#icon">icon</a>().</p>
<!-- @@@setIcon -->
<!-- $$$setName[overload1]$$$setNameconstQString& -->
<h3 class="fn"><a name="setName"></a><span class="type">void</span> QPlaceSupplier::<span class="name">setName</span>(const <span class="type">QString</span> &<i> name</i>)</h3>
<p>Sets the <i>name</i> of the supplier.</p>
<p><b>See also </b><a href="qplacesupplier.html#name">name</a>().</p>
<!-- @@@setName -->
<!-- $$$setSupplierId[overload1]$$$setSupplierIdconstQString& -->
<h3 class="fn"><a name="setSupplierId"></a><span class="type">void</span> QPlaceSupplier::<span class="name">setSupplierId</span>(const <span class="type">QString</span> &<i> identifier</i>)</h3>
<p>Sets the <i>identifier</i> of the supplier.</p>
<p><b>See also </b><a href="qplacesupplier.html#supplierId">supplierId</a>().</p>
<!-- @@@setSupplierId -->
<!-- $$$setUrl[overload1]$$$setUrlconstQUrl& -->
<h3 class="fn"><a name="setUrl"></a><span class="type">void</span> QPlaceSupplier::<span class="name">setUrl</span>(const <span class="type">QUrl</span> &<i> url</i>)</h3>
<p>Sets the <i>url</i> of the supplier's website.</p>
<p><b>See also </b><a href="qplacesupplier.html#url">url</a>().</p>
<!-- @@@setUrl -->
<!-- $$$supplierId[overload1]$$$supplierId -->
<h3 class="fn"><a name="supplierId"></a><span class="type">QString</span> QPlaceSupplier::<span class="name">supplierId</span>() const</h3>
<p>Returns the identifier of the supplier. The identifier is unique to the manager backend which provided the supplier and is generally not suitable for displaying to the user.</p>
<p><b>See also </b><a href="qplacesupplier.html#setSupplierId">setSupplierId</a>().</p>
<!-- @@@supplierId -->
<!-- $$$url[overload1]$$$url -->
<h3 class="fn"><a name="url"></a><span class="type">QUrl</span> QPlaceSupplier::<span class="name">url</span>() const</h3>
<p>Returns the URL of the supplier's website.</p>
<p><b>See also </b><a href="qplacesupplier.html#setUrl">setUrl</a>().</p>
<!-- @@@url -->
<!-- $$$operator!=[overload1]$$$operator!=constQPlaceSupplier& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> QPlaceSupplier::<span class="name">operator!=</span>(const <span class="type">QPlaceSupplier</span> &<i> other</i>) const</h3>
<p>Returns true if this supplier is not equal to <i>other</i>, otherwise returns false.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQPlaceSupplier& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QPlaceSupplier</span> & QPlaceSupplier::<span class="name">operator=</span>(const <span class="type">QPlaceSupplier</span> &<i> other</i>)</h3>
<p>Assigns <i>other</i> to this supplier and returns a reference to this supplier.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQPlaceSupplier& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QPlaceSupplier::<span class="name">operator==</span>(const <span class="type">QPlaceSupplier</span> &<i> other</i>) const</h3>
<p>Returns true if this supplier 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> 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>
|