/usr/share/qt5/doc/qtlocation/qplacecontactdetail.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 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | <?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" />
<!-- qplacecontactdetail.cpp -->
<title>QPlaceContactDetail 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>QPlaceContactDetail</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="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#contact-types">Contact Types</a></li>
</ul>
</div>
<h1 class="title">QPlaceContactDetail Class</h1>
<!-- $$$QPlaceContactDetail-brief -->
<p>The QPlaceContactDetail class represents a contact detail such as a phone number or website url. <a href="#details">More...</a></p>
<!-- @@@QPlaceContactDetail -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QPlaceContactDetail></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += location</tt></td></tr></table><ul>
<li><a href="qplacecontactdetail-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="qplacecontactdetail.html#QPlaceContactDetail">QPlaceContactDetail</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#QPlaceContactDetail-2">QPlaceContactDetail</a></b>(const QPlaceContactDetail &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#dtor.QPlaceContactDetail">~QPlaceContactDetail</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#clear">clear</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#label">label</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#setLabel">setLabel</a></b>(const QString &<i> label</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#setValue">setValue</a></b>(const QString &<i> value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#value">value</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#operator-not-eq">operator!=</a></b>(const QPlaceContactDetail &<i> other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPlaceContactDetail & </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#operator-eq">operator=</a></b>(const QPlaceContactDetail &<i> other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#operator-eq-eq">operator==</a></b>(const QPlaceContactDetail &<i> other</i>) const</td></tr>
</table>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#Email-var">Email</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#Fax-var">Fax</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#Phone-var">Phone</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QString </td><td class="memItemRight bottomAlign"><b><a href="qplacecontactdetail.html#Website-var">Website</a></b></td></tr>
</table>
<a name="details"></a>
<!-- $$$QPlaceContactDetail-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QPlaceContactDetail class represents a contact detail such as a phone number or website url.</p>
<p>The detail consists of a label and value. The label is a localized string that can be presented to the end user that describes that detail value which is the actual phone number, email address and so on.</p>
<a name="contact-types"></a>
<h4>Contact Types</h4>
<p>The QPlaceContactDetail class defines some constant strings which characterize standard <i>contact types</i>.</p>
<ul>
<li><a href="qplacecontactdetail.html#Phone-var">QPlaceContactDetail::Phone</a></li>
<li><a href="qplacecontactdetail.html#Email-var">QPlaceContactDetail::Email</a></li>
<li><a href="qplacecontactdetail.html#Website-var">QPlaceContactDetail::Website</a></li>
<li><a href="qplacecontactdetail.html#Fax-var">QPlaceContactDetail::Fax</a></li>
</ul>
<p>These types are used to access and modify contact details in <a href="qplace.html">QPlace</a> via:</p>
<ul>
<li><a href="qplace.html#contactDetails">QPlace::contactDetails</a>()</li>
<li><a href="qplace.html#setContactDetails">QPlace::setContactDetails</a>()</li>
<li><a href="qplace.html#appendContactDetail">QPlace::appendContactDetail</a>()</li>
<li><a href="qplace.html#contactTypes">QPlace::contactTypes</a>()</li>
</ul>
<p>The <i>contact type</i> is intended to be a string type so that providers are able to introduce new contact types if necessary.</p>
</div>
<!-- @@@QPlaceContactDetail -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPlaceContactDetail[overload1]$$$QPlaceContactDetail -->
<h3 class="fn"><a name="QPlaceContactDetail"></a>QPlaceContactDetail::<span class="name">QPlaceContactDetail</span>()</h3>
<p>Constructs a contact detail.</p>
<!-- @@@QPlaceContactDetail -->
<!-- $$$QPlaceContactDetail$$$QPlaceContactDetailconstQPlaceContactDetail& -->
<h3 class="fn"><a name="QPlaceContactDetail-2"></a>QPlaceContactDetail::<span class="name">QPlaceContactDetail</span>(const <span class="type">QPlaceContactDetail</span> &<i> other</i>)</h3>
<p>Creates a copy of <i>other</i>.</p>
<!-- @@@QPlaceContactDetail -->
<!-- $$$~QPlaceContactDetail[overload1]$$$~QPlaceContactDetail -->
<h3 class="fn"><a name="dtor.QPlaceContactDetail"></a>QPlaceContactDetail::<span class="name">~QPlaceContactDetail</span>()<tt> [virtual]</tt></h3>
<p>Destroys the contact detail.</p>
<!-- @@@~QPlaceContactDetail -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn"><a name="clear"></a><span class="type">void</span> QPlaceContactDetail::<span class="name">clear</span>()</h3>
<p>Clears the contact detail.</p>
<!-- @@@clear -->
<!-- $$$label[overload1]$$$label -->
<h3 class="fn"><a name="label"></a><span class="type">QString</span> QPlaceContactDetail::<span class="name">label</span>() const</h3>
<p>Returns a label describing the contact detail.</p>
<p>The label can potentially be localized. The language is dependent on the entity that sets it, typically this is the manager from which the places are sourced. The <a href="qplacemanager.html#locales">QPlaceManager::locales</a>() field defines what language is used.</p>
<p><b>See also </b><a href="qplacecontactdetail.html#setLabel">setLabel</a>().</p>
<!-- @@@label -->
<!-- $$$setLabel[overload1]$$$setLabelconstQString& -->
<h3 class="fn"><a name="setLabel"></a><span class="type">void</span> QPlaceContactDetail::<span class="name">setLabel</span>(const <span class="type">QString</span> &<i> label</i>)</h3>
<p>Sets the <i>label</i> of the contact detail.</p>
<p><b>See also </b><a href="qplacecontactdetail.html#label">label</a>().</p>
<!-- @@@setLabel -->
<!-- $$$setValue[overload1]$$$setValueconstQString& -->
<h3 class="fn"><a name="setValue"></a><span class="type">void</span> QPlaceContactDetail::<span class="name">setValue</span>(const <span class="type">QString</span> &<i> value</i>)</h3>
<p>Sets the <i>value</i> of this contact detail.</p>
<p><b>See also </b><a href="qplacecontactdetail.html#value">value</a>().</p>
<!-- @@@setValue -->
<!-- $$$value[overload1]$$$value -->
<h3 class="fn"><a name="value"></a><span class="type">QString</span> QPlaceContactDetail::<span class="name">value</span>() const</h3>
<p>Returns the value of the contact detail.</p>
<p><b>See also </b><a href="qplacecontactdetail.html#setValue">setValue</a>().</p>
<!-- @@@value -->
<!-- $$$operator!=[overload1]$$$operator!=constQPlaceContactDetail& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> QPlaceContactDetail::<span class="name">operator!=</span>(const <span class="type">QPlaceContactDetail</span> &<i> other</i>) const</h3>
<p>Returns true if <i>other</i> is not equal to this contact detail, otherwise returns false.</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQPlaceContactDetail& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QPlaceContactDetail</span> & QPlaceContactDetail::<span class="name">operator=</span>(const <span class="type">QPlaceContactDetail</span> &<i> other</i>)</h3>
<p>Assigns <i>other</i> to this contact detail and returns a reference to this contact detail.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQPlaceContactDetail& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QPlaceContactDetail::<span class="name">operator==</span>(const <span class="type">QPlaceContactDetail</span> &<i> other</i>) const</h3>
<p>Returns true if <i>other</i> is equal to this contact detail, otherwise returns false.</p>
<!-- @@@operator== -->
</div>
<div class="vars">
<h2>Member Variable Documentation</h2>
<!-- $$$Email -->
<h3 class="fn"><a name="Email-var"></a>const <span class="type">QString</span> QPlaceContactDetail::<span class="name">Email</span></h3>
<p>The constant to specify email contact details.</p>
<!-- @@@Email -->
<!-- $$$Fax -->
<h3 class="fn"><a name="Fax-var"></a>const <span class="type">QString</span> QPlaceContactDetail::<span class="name">Fax</span></h3>
<p>The constant used to specify fax contact details.</p>
<!-- @@@Fax -->
<!-- $$$Phone -->
<h3 class="fn"><a name="Phone-var"></a>const <span class="type">QString</span> QPlaceContactDetail::<span class="name">Phone</span></h3>
<p>The constant to specify phone contact details</p>
<!-- @@@Phone -->
<!-- $$$Website -->
<h3 class="fn"><a name="Website-var"></a>const <span class="type">QString</span> QPlaceContactDetail::<span class="name">Website</span></h3>
<p>The constant used to specify website contact details.</p>
<!-- @@@Website -->
</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>
|