/usr/share/qt5/doc/qtcontacts/qcontactname.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 | <?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>QContactName 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 >QContactName</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">QContactName Class</h1>
<!-- $$$QContactName-brief -->
<p>The <a href="qcontactname.html">QContactName</a> class contains a name of a contact. <a href="#details">More...</a></p>
<!-- @@@QContactName -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QContactName></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="qcontactname-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="qcontactname.html#NameField-enum">NameField</a></b> { FieldPrefix, FieldFirstName, FieldMiddleName, FieldLastName, FieldSuffix }</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="qcontactname.html#firstName">firstName</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#lastName">lastName</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#middleName">middleName</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#prefix">prefix</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#setFirstName">setFirstName</a></b>(const QString &<i>firstName</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#setLastName">setLastName</a></b>(const QString &<i>lastName</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#setMiddleName">setMiddleName</a></b>(const QString &<i>middleName</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#setPrefix">setPrefix</a></b>(const QString &<i>prefix</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#setSuffix">setSuffix</a></b>(const QString &<i>suffix</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#suffix">suffix</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="qcontactname.html#Type-var">Type</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContactFilter </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#match">match</a></b>(const QString &<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContactFilter </td><td class="memItemRight bottomAlign"><b><a href="qcontactname.html#match-1">match</a></b>(const QString &<i>firstName</i>, const QString &<i>lastName</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QContactName-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qcontactname.html">QContactName</a> class contains a name of a contact.</p>
</div>
<!-- @@@QContactName -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$NameField$$$FieldPrefix$$$FieldFirstName$$$FieldMiddleName$$$FieldLastName$$$FieldSuffix -->
<h3 class="fn" id="NameField-enum"><a name="NameField-enum"></a>enum QContactName::<span class="name">NameField</span></h3>
<p>This enumeration defines the fields supported by <a href="qcontactname.html">QContactName</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>QContactName::FieldPrefix</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The value stored in this field contains the prefix part of the name.</td></tr>
<tr><td class="topAlign"><code>QContactName::FieldFirstName</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The value stored in this field contains the first part of the name.</td></tr>
<tr><td class="topAlign"><code>QContactName::FieldMiddleName</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The value stored in this field contains the middle part of the name.</td></tr>
<tr><td class="topAlign"><code>QContactName::FieldLastName</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The value stored in this field contains the last part of the name.</td></tr>
<tr><td class="topAlign"><code>QContactName::FieldSuffix</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The value stored in this field contains the suffix part of the name.</td></tr>
</table></div>
<p><b>See also </b><a href="qcontactname.html#prefix">prefix</a>(), <a href="qcontactname.html#setPrefix">setPrefix</a>(), <a href="qcontactname.html#firstName">firstName</a>(), <a href="qcontactname.html#setFirstName">setFirstName</a>(), <a href="qcontactname.html#middleName">middleName</a>(), <a href="qcontactname.html#setMiddleName">setMiddleName</a>(), <a href="qcontactname.html#lastName">lastName</a>(), <a href="qcontactname.html#setLastName">setLastName</a>(), <a href="qcontactname.html#suffix">suffix</a>(), and <a href="qcontactname.html#setSuffix">setSuffix</a>().</p>
<!-- @@@NameField -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$firstName[overload1]$$$firstName -->
<h3 class="fn" id="firstName"><a name="firstName"></a><span class="type">QString</span> QContactName::<span class="name">firstName</span>() const</h3>
<p>Returns the first (given) name segment of the name stored in this detail.</p>
<p><b>See also </b><a href="qcontactname.html#setFirstName">setFirstName</a>().</p>
<!-- @@@firstName -->
<!-- $$$lastName[overload1]$$$lastName -->
<h3 class="fn" id="lastName"><a name="lastName"></a><span class="type">QString</span> QContactName::<span class="name">lastName</span>() const</h3>
<p>Returns the last (family, or surname) name segment of the name stored in this detail.</p>
<p><b>See also </b><a href="qcontactname.html#setLastName">setLastName</a>().</p>
<!-- @@@lastName -->
<!-- $$$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> QContactName::<span class="name">match</span>(const <span class="type">QString</span> &<i>name</i>)</h3>
<p>Returns a filter suitable for finding contacts with any name field (e.g. first, last) that contains the supplied <i>name</i>.</p>
<!-- @@@match -->
<!-- $$$match$$$matchconstQString&constQString& -->
<h3 class="fn" id="match-1"><a name="match-1"></a><code>[static] </code><span class="type"><a href="qcontactfilter.html">QContactFilter</a></span> QContactName::<span class="name">match</span>(const <span class="type">QString</span> &<i>firstName</i>, const <span class="type">QString</span> &<i>lastName</i>)</h3>
<p>Returns a filter suitable for finding contacts with a name with a first name containing the specified <i>firstName</i> and a last name containing the specified <i>lastName</i>. If either parameter is empty, any value will match that component.</p>
<!-- @@@match -->
<!-- $$$middleName[overload1]$$$middleName -->
<h3 class="fn" id="middleName"><a name="middleName"></a><span class="type">QString</span> QContactName::<span class="name">middleName</span>() const</h3>
<p>Returns the middle (additional, or other) name segment of the name stored in this detail.</p>
<p><b>See also </b><a href="qcontactname.html#setMiddleName">setMiddleName</a>().</p>
<!-- @@@middleName -->
<!-- $$$prefix[overload1]$$$prefix -->
<h3 class="fn" id="prefix"><a name="prefix"></a><span class="type">QString</span> QContactName::<span class="name">prefix</span>() const</h3>
<p>Returns the prefix segment of the name stored in this detail.</p>
<p><b>See also </b><a href="qcontactname.html#setPrefix">setPrefix</a>().</p>
<!-- @@@prefix -->
<!-- $$$setFirstName[overload1]$$$setFirstNameconstQString& -->
<h3 class="fn" id="setFirstName"><a name="setFirstName"></a><span class="type">void</span> QContactName::<span class="name">setFirstName</span>(const <span class="type">QString</span> &<i>firstName</i>)</h3>
<p>Sets the first name segment of the name stored in this detail to <i>firstName</i>.</p>
<p><b>See also </b><a href="qcontactname.html#firstName">firstName</a>().</p>
<!-- @@@setFirstName -->
<!-- $$$setLastName[overload1]$$$setLastNameconstQString& -->
<h3 class="fn" id="setLastName"><a name="setLastName"></a><span class="type">void</span> QContactName::<span class="name">setLastName</span>(const <span class="type">QString</span> &<i>lastName</i>)</h3>
<p>Sets the last name segment of the name stored in this detail to <i>lastName</i>.</p>
<p><b>See also </b><a href="qcontactname.html#lastName">lastName</a>().</p>
<!-- @@@setLastName -->
<!-- $$$setMiddleName[overload1]$$$setMiddleNameconstQString& -->
<h3 class="fn" id="setMiddleName"><a name="setMiddleName"></a><span class="type">void</span> QContactName::<span class="name">setMiddleName</span>(const <span class="type">QString</span> &<i>middleName</i>)</h3>
<p>Sets the middle name segment of the name stored in this detail to <i>middleName</i>.</p>
<p><b>See also </b><a href="qcontactname.html#middleName">middleName</a>().</p>
<!-- @@@setMiddleName -->
<!-- $$$setPrefix[overload1]$$$setPrefixconstQString& -->
<h3 class="fn" id="setPrefix"><a name="setPrefix"></a><span class="type">void</span> QContactName::<span class="name">setPrefix</span>(const <span class="type">QString</span> &<i>prefix</i>)</h3>
<p>Sets the prefix segment of the name stored in this detail to <i>prefix</i>.</p>
<p><b>See also </b><a href="qcontactname.html#prefix">prefix</a>().</p>
<!-- @@@setPrefix -->
<!-- $$$setSuffix[overload1]$$$setSuffixconstQString& -->
<h3 class="fn" id="setSuffix"><a name="setSuffix"></a><span class="type">void</span> QContactName::<span class="name">setSuffix</span>(const <span class="type">QString</span> &<i>suffix</i>)</h3>
<p>Sets the suffix segment of the name stored in this detail to <i>suffix</i>.</p>
<p><b>See also </b><a href="qcontactname.html#suffix">suffix</a>().</p>
<!-- @@@setSuffix -->
<!-- $$$suffix[overload1]$$$suffix -->
<h3 class="fn" id="suffix"><a name="suffix"></a><span class="type">QString</span> QContactName::<span class="name">suffix</span>() const</h3>
<p>Returns the suffix segment of the name stored in this detail.</p>
<p><b>See also </b><a href="qcontactname.html#setSuffix">setSuffix</a>().</p>
<!-- @@@suffix -->
</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> QContactName::<span class="name">Type</span></h3>
<p>The enum constant for the type identifier of <a href="qcontactname.html">QContactName</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>
|