/usr/share/qt5/doc/qtcontacts/qcontactid.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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcontactid.cpp -->
<title>QContactId 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 >QContactId</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-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">QContactId Class</h1>
<!-- $$$QContactId-brief -->
<p>The <a href="qcontactid.html">QContactId</a> class provides information that uniquely identifies a contact in a particular manager. <a href="#details">More...</a></p>
<!-- @@@QContactId -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QContactId></span>
</td></tr></table></div><ul>
<li><a href="qcontactid-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#QContactId">QContactId</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#QContactId-1">QContactId</a></b>(const QContactId &<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#QContactId-2">QContactId</a></b>(QContactEngineId *<i>engineId</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#dtor.QContactId">~QContactId</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#isNull">isNull</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#managerUri">managerUri</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#toString">toString</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#operator-not-eq">operator!=</a></b>(const QContactId &<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#operator-lt">operator<</a></b>(const QContactId &<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContactId &</td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#operator-eq">operator=</a></b>(const QContactId &<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#operator-eq-eq">operator==</a></b>(const QContactId &<i>other</i>) const</td></tr>
</table></div>
<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"> QContactId </td><td class="memItemRight bottomAlign"><b><a href="qcontactid.html#fromString">fromString</a></b>(const QString &<i>idString</i>)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QContactId-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qcontactid.html">QContactId</a> class provides information that uniquely identifies a contact in a particular manager.</p>
<p>It consists of a manager URI which identifies the manager which contains the contact,</p>
<p>A <a href="qcontactid.html">QContactId</a> is "null" when it is default-constructed and therefore not associated with a contact in any manager.</p>
</div>
<!-- @@@QContactId -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QContactId[overload1]$$$QContactId -->
<h3 class="fn" id="QContactId"><a name="QContactId"></a>QContactId::<span class="name">QContactId</span>()</h3>
<p>* Constructs a new contact id. The contact is said to be "null", it has null engine id and <a href="qcontactid.html#isNull">isNull</a>() for it returns true. This is the default constructor</p>
<p><b>See also </b><a href="qcontactid.html#isNull">isNull</a>().</p>
<!-- @@@QContactId -->
<!-- $$$QContactId$$$QContactIdconstQContactId& -->
<h3 class="fn" id="QContactId-1"><a name="QContactId-1"></a>QContactId::<span class="name">QContactId</span>(const <span class="type"><a href="qcontactid.html#QContactId">QContactId</a></span> &<i>other</i>)</h3>
<p>Constructs a new contact id as a copy of <i>other</i></p>
<!-- @@@QContactId -->
<!-- $$$QContactId$$$QContactIdQContactEngineId* -->
<h3 class="fn" id="QContactId-2"><a name="QContactId-2"></a>QContactId::<span class="name">QContactId</span>(<span class="type">QContactEngineId</span> *<i>engineId</i>)</h3>
<p>Constructs a manager-unique id which wraps the given engine-unique contact id <i>engineId</i>. This id takes ownership of the engine-unique contact id and will delete it when the id goes out of scope. Engine implementors must not delete the <i>engineId</i> or undefined behaviour will occur. The created contact id is not null, if the <i>engineId</i> is not null.</p>
<!-- @@@QContactId -->
<!-- $$$~QContactId[overload1]$$$~QContactId -->
<h3 class="fn" id="dtor.QContactId"><a name="dtor.QContactId"></a>QContactId::<span class="name">~QContactId</span>()</h3>
<p>Cleans up the memory in use by the contact id</p>
<!-- @@@~QContactId -->
<!-- $$$fromString[overload1]$$$fromStringconstQString& -->
<h3 class="fn" id="fromString"><a name="fromString"></a><code>[static] </code><span class="type"><a href="qcontactid.html#QContactId">QContactId</a></span> QContactId::<span class="name">fromString</span>(const <span class="type">QString</span> &<i>idString</i>)</h3>
<p>Deserializes the given <i>idString</i>. Returns a default-constructed (null) contact id if the given <i>idString</i> is not a valid, serialized contact id, or if the manager engine from which the id came could not be found.</p>
<p><b>See also </b><a href="qcontactid.html#toString">toString</a>().</p>
<!-- @@@fromString -->
<!-- $$$isNull[overload1]$$$isNull -->
<h3 class="fn" id="isNull"><a name="isNull"></a><span class="type">bool</span> QContactId::<span class="name">isNull</span>() const</h3>
<p>Returns true if this is the null (default constructed) id which has a null engine id;</p>
<!-- @@@isNull -->
<!-- $$$managerUri[overload1]$$$managerUri -->
<h3 class="fn" id="managerUri"><a name="managerUri"></a><span class="type">QString</span> QContactId::<span class="name">managerUri</span>() const</h3>
<p>Returns the URI of the manager which contains the contact identified by this id</p>
<!-- @@@managerUri -->
<!-- $$$toString[overload1]$$$toString -->
<h3 class="fn" id="toString"><a name="toString"></a><span class="type">QString</span> QContactId::<span class="name">toString</span>() const</h3>
<p>Returns the contact id as a string. This string can be converted back to equal contact id using <a href="qcontactid.html#fromString">fromString</a>.</p>
<p><b>See also </b><a href="qcontactid.html#fromString">fromString</a>().</p>
<!-- @@@toString -->
<!-- $$$operator!=[overload1]$$$operator!=constQContactId& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QContactId::<span class="name">operator!=</span>(const <span class="type"><a href="qcontactid.html#QContactId">QContactId</a></span> &<i>other</i>) const</h3>
<p>Returns true if either the manager URI or id of the contact id is different to that of <i>other</i></p>
<!-- @@@operator!= -->
<!-- $$$operator<[overload1]$$$operator<constQContactId& -->
<h3 class="fn" id="operator-lt"><a name="operator-lt"></a><span class="type">bool</span> QContactId::<span class="name">operator<</span>(const <span class="type"><a href="qcontactid.html#QContactId">QContactId</a></span> &<i>other</i>) const</h3>
<p>Returns true if this id is less than the <i>other</i> id. This id will be considered less than the <i>other</i> id if the manager URI of this id is alphabetically less than the manager URI of the <i>other</i> id. If both ids have the same manager URI, this id will be considered less than the <i>other</i> id if the engine id of this id is less than the engine id of the <i>other</i> id.</p>
<p>The null contact id is less than any non-null id.</p>
<p>This operator is provided primarily to allow use of a <a href="qcontactid.html">QContactId</a> as a key in a QMap.</p>
<!-- @@@operator< -->
<!-- $$$operator=[overload1]$$$operator=constQContactId& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qcontactid.html#QContactId">QContactId</a></span> &QContactId::<span class="name">operator=</span>(const <span class="type"><a href="qcontactid.html#QContactId">QContactId</a></span> &<i>other</i>)</h3>
<p>Assigns the contact id to be equal to <i>other</i></p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQContactId& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QContactId::<span class="name">operator==</span>(const <span class="type"><a href="qcontactid.html#QContactId">QContactId</a></span> &<i>other</i>) const</h3>
<p>Returns true if the <i>other</i> contact id has the same manager URI and they have equal engine ids. Returns true also, if both are null contact ids.</p>
<!-- @@@operator== -->
</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>
|