/usr/share/qt5/doc/qtcontacts/qcontactaddress.html is in qtpim5-doc-html 5.0~git20140515~29475884-0ubuntu24~7.
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 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcontactdetails.cpp -->
<title>QContactAddress Class | Qt 5.0</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.0</td><td >QContactAddress</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.0.0 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-types">Public Types</a></li>
<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>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QContactAddress Class</h1>
<!-- $$$QContactAddress-brief -->
<p>The <a href="qcontactaddress.html">QContactAddress</a> class contains an address of a contact. <a href="#details">More...</a></p>
<!-- @@@QContactAddress -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QContactAddress></span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qcontactdetail.html">QContactDetail</a></td></tr></table></div><ul>
<li><a href="qcontactaddress-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#AddressField-enum">AddressField</a></b> { FieldStreet, FieldLocality, FieldRegion, FieldPostcode, ..., FieldSubTypes }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#SubType-enum">SubType</a></b> { SubTypeParcel, SubTypePostal, SubTypeDomestic, SubTypeInternational }</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#country">country</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#locality">locality</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#postOfficeBox">postOfficeBox</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#postcode">postcode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#region">region</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#setCountry">setCountry</a></b>(const QString &<i>country</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#setLocality">setLocality</a></b>(const QString &<i>locality</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#setPostOfficeBox">setPostOfficeBox</a></b>(const QString &<i>postOfficeBox</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#setPostcode">setPostcode</a></b>(const QString &<i>postcode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#setRegion">setRegion</a></b>(const QString &<i>region</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#setStreet">setStreet</a></b>(const QString &<i>street</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#setSubTypes">setSubTypes</a></b>(const QList<int> &<i>subTypes</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#street">street</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList<int> </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#subTypes">subTypes</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">22 public functions inherited from <a href="qcontactdetail.html#public-functions">QContactDetail</a></li>
</ul>
<a name="static-public-members"></a>
<h2 id="static-public-members">Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const DetailType </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#Type-var">Type</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContactFilter </td><td class="memItemRight bottomAlign"><b><a href="qcontactaddress.html#match">match</a></b>(const QString &<i>subString</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QContactAddress-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qcontactaddress.html">QContactAddress</a> class contains an address of a contact.</p>
<p>The fields in the <a href="qcontactaddress.html">QContactAddress</a> class are based on the segments of the ADR property of a Versit vCard file. Versit <sup>®</sup> is a trademark of the Internet Mail Consortium.</p>
</div>
<!-- @@@QContactAddress -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$AddressField$$$FieldStreet$$$FieldLocality$$$FieldRegion$$$FieldPostcode$$$FieldCountry$$$FieldSubTypes$$$FieldPostOfficeBox -->
<h3 class="fn" id="AddressField-enum"><a name="AddressField-enum"></a>enum QContactAddress::<span class="name">AddressField</span></h3>
<p>This enumeration defines the fields supported by <a href="qcontactaddress.html">QContactAddress</a>.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QContactAddress::FieldStreet</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The value stored in this field contains the street number and street name of the address.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::FieldLocality</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The value stored in this field contains the name of the city, town or suburb of the address.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::FieldRegion</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The value stored in this field contains the region segment. The region segment contains the name or identifier of the state, province or region of the address.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::FieldPostcode</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The value stored in this field contains the postcode segment. The postcode segment contains the postal code for the address.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::FieldCountry</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The value stored in this field contains the country segment. The country segment contains the name of the country of the address.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::FieldPostOfficeBox</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">The value stored in this field contains the post office box segment. The post office box segment contains the post office box identifier of the mailing address.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::FieldSubTypes</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">The value stored in this field contains the sub types of a <a href="qcontactaddress.html">QContactAddress</a>.</td></tr>
</table></div>
<p><b>See also </b><a href="qcontactaddress.html#street">street</a>(), <a href="qcontactaddress.html#setStreet">setStreet</a>(), <a href="qcontactaddress.html#locality">locality</a>(), <a href="qcontactaddress.html#setLocality">setLocality</a>(), <a href="qcontactaddress.html#region">region</a>(), <a href="qcontactaddress.html#setRegion">setRegion</a>(), <a href="qcontactaddress.html#postcode">postcode</a>(), <a href="qcontactaddress.html#setPostcode">setPostcode</a>(), <a href="qcontactaddress.html#country">country</a>(), <a href="qcontactaddress.html#setCountry">setCountry</a>(), <a href="qcontactaddress.html#postOfficeBox">postOfficeBox</a>(), and <a href="qcontactaddress.html#setPostOfficeBox">setPostOfficeBox</a>().</p>
<!-- @@@AddressField -->
<!-- $$$SubType$$$SubTypeParcel$$$SubTypePostal$$$SubTypeDomestic$$$SubTypeInternational -->
<h3 class="fn" id="SubType-enum"><a name="SubType-enum"></a>enum QContactAddress::<span class="name">SubType</span></h3>
<p>This enumeration defines the predefined enum constants for a sub type value of a <a href="qcontactaddress.html">QContactAddress</a>.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QContactAddress::SubTypeParcel</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The value stored contains an address for parcel delivery.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::SubTypePostal</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The value stored contains an address for postal delivery.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::SubTypeDomestic</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The value stored contains an address for domestic mail delivery.</td></tr>
<tr><td class="topAlign"><code>QContactAddress::SubTypeInternational</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The value stored contains an address for international mail delivery.</td></tr>
</table></div>
<p><b>See also </b><a href="qcontactaddress.html#subTypes">subTypes</a>() and <a href="qcontactaddress.html#setSubTypes">setSubTypes</a>().</p>
<!-- @@@SubType -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$country[overload1]$$$country -->
<h3 class="fn" id="country"><a name="country"></a><span class="type">QString</span> QContactAddress::<span class="name">country</span>() const</h3>
<p>Returns the country segment of the address stored in this detail.</p>
<p><b>See also </b><a href="qcontactaddress.html#setCountry">setCountry</a>().</p>
<!-- @@@country -->
<!-- $$$locality[overload1]$$$locality -->
<h3 class="fn" id="locality"><a name="locality"></a><span class="type">QString</span> QContactAddress::<span class="name">locality</span>() const</h3>
<p>Returns the locality segment of the address stored in this detail.</p>
<p><b>See also </b><a href="qcontactaddress.html#setLocality">setLocality</a>().</p>
<!-- @@@locality -->
<!-- $$$match[overload1]$$$matchconstQString& -->
<h3 class="fn" id="match"><a name="match"></a><code>[static] </code><span class="type"><a href="qcontactfilter.html">QContactFilter</a></span> QContactAddress::<span class="name">match</span>(const <span class="type">QString</span> &<i>subString</i>)</h3>
<p>Returns a filter suitable for finding contacts with an address which contains the given <i>subString</i> in any of its fields.</p>
<!-- @@@match -->
<!-- $$$postOfficeBox[overload1]$$$postOfficeBox -->
<h3 class="fn" id="postOfficeBox"><a name="postOfficeBox"></a><span class="type">QString</span> QContactAddress::<span class="name">postOfficeBox</span>() const</h3>
<p>Returns the post office box segment of the address stored in this detail.</p>
<p><b>See also </b><a href="qcontactaddress.html#setPostOfficeBox">setPostOfficeBox</a>().</p>
<!-- @@@postOfficeBox -->
<!-- $$$postcode[overload1]$$$postcode -->
<h3 class="fn" id="postcode"><a name="postcode"></a><span class="type">QString</span> QContactAddress::<span class="name">postcode</span>() const</h3>
<p>Returns the postcode segment of the address stored in this detail.</p>
<p><b>See also </b><a href="qcontactaddress.html#setPostcode">setPostcode</a>().</p>
<!-- @@@postcode -->
<!-- $$$region[overload1]$$$region -->
<h3 class="fn" id="region"><a name="region"></a><span class="type">QString</span> QContactAddress::<span class="name">region</span>() const</h3>
<p>Returns the region segment of the address stored in this detail.</p>
<p><b>See also </b><a href="qcontactaddress.html#setRegion">setRegion</a>().</p>
<!-- @@@region -->
<!-- $$$setCountry[overload1]$$$setCountryconstQString& -->
<h3 class="fn" id="setCountry"><a name="setCountry"></a><span class="type">void</span> QContactAddress::<span class="name">setCountry</span>(const <span class="type">QString</span> &<i>country</i>)</h3>
<p>Sets the country segment of the address stored in this detail to <i>country</i>.</p>
<p><b>See also </b><a href="qcontactaddress.html#country">country</a>().</p>
<!-- @@@setCountry -->
<!-- $$$setLocality[overload1]$$$setLocalityconstQString& -->
<h3 class="fn" id="setLocality"><a name="setLocality"></a><span class="type">void</span> QContactAddress::<span class="name">setLocality</span>(const <span class="type">QString</span> &<i>locality</i>)</h3>
<p>Sets the locality segment of the address stored in this detail to <i>locality</i>.</p>
<p><b>See also </b><a href="qcontactaddress.html#locality">locality</a>().</p>
<!-- @@@setLocality -->
<!-- $$$setPostOfficeBox[overload1]$$$setPostOfficeBoxconstQString& -->
<h3 class="fn" id="setPostOfficeBox"><a name="setPostOfficeBox"></a><span class="type">void</span> QContactAddress::<span class="name">setPostOfficeBox</span>(const <span class="type">QString</span> &<i>postOfficeBox</i>)</h3>
<p>Sets the post office box segment of the address stored in this detail to <i>postOfficeBox</i>.</p>
<p><b>See also </b><a href="qcontactaddress.html#postOfficeBox">postOfficeBox</a>().</p>
<!-- @@@setPostOfficeBox -->
<!-- $$$setPostcode[overload1]$$$setPostcodeconstQString& -->
<h3 class="fn" id="setPostcode"><a name="setPostcode"></a><span class="type">void</span> QContactAddress::<span class="name">setPostcode</span>(const <span class="type">QString</span> &<i>postcode</i>)</h3>
<p>Sets the postcode segment of the address stored in this detail to <i>postcode</i>.</p>
<p><b>See also </b><a href="qcontactaddress.html#postcode">postcode</a>().</p>
<!-- @@@setPostcode -->
<!-- $$$setRegion[overload1]$$$setRegionconstQString& -->
<h3 class="fn" id="setRegion"><a name="setRegion"></a><span class="type">void</span> QContactAddress::<span class="name">setRegion</span>(const <span class="type">QString</span> &<i>region</i>)</h3>
<p>Sets the region segment of the address stored in this detail to <i>region</i>.</p>
<p><b>See also </b><a href="qcontactaddress.html#region">region</a>().</p>
<!-- @@@setRegion -->
<!-- $$$setStreet[overload1]$$$setStreetconstQString& -->
<h3 class="fn" id="setStreet"><a name="setStreet"></a><span class="type">void</span> QContactAddress::<span class="name">setStreet</span>(const <span class="type">QString</span> &<i>street</i>)</h3>
<p>Sets the street segment of the address stored in this detail to <i>street</i>.</p>
<p><b>See also </b><a href="qcontactaddress.html#street">street</a>().</p>
<!-- @@@setStreet -->
<!-- $$$setSubTypes[overload1]$$$setSubTypesconstQList<int>& -->
<h3 class="fn" id="setSubTypes"><a name="setSubTypes"></a><span class="type">void</span> QContactAddress::<span class="name">setSubTypes</span>(const <span class="type">QList</span><<span class="type">int</span>> &<i>subTypes</i>)</h3>
<p>Sets the subtypes which this detail implements to be those contained in the list of given <i>subTypes</i>.</p>
<p><b>See also </b><a href="qcontactaddress.html#subTypes">subTypes</a>().</p>
<!-- @@@setSubTypes -->
<!-- $$$street[overload1]$$$street -->
<h3 class="fn" id="street"><a name="street"></a><span class="type">QString</span> QContactAddress::<span class="name">street</span>() const</h3>
<p>Returns the street segment of the address stored in this detail.</p>
<p><b>See also </b><a href="qcontactaddress.html#setStreet">setStreet</a>().</p>
<!-- @@@street -->
<!-- $$$subTypes[overload1]$$$subTypes -->
<h3 class="fn" id="subTypes"><a name="subTypes"></a><span class="type">QList</span><<span class="type">int</span>> QContactAddress::<span class="name">subTypes</span>() const</h3>
<p>Returns the list of subtypes that this detail implements.</p>
<p><b>See also </b><a href="qcontactaddress.html#setSubTypes">setSubTypes</a>().</p>
<!-- @@@subTypes -->
</div>
<div class="vars">
<h2>Member Variable Documentation</h2>
<!-- $$$Type -->
<h3 class="fn" id="Type-var"><a name="Type-var"></a>const <span class="type"><a href="qcontactdetail.html#DetailType-enum">DetailType</a></span> QContactAddress::<span class="name">Type</span></h3>
<p>The enum constant for the type identifier of <a href="qcontactaddress.html">QContactAddress</a> details.</p>
<!-- @@@Type -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</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>
|