This file is indexed.

/usr/share/qt5/doc/qtcontacts/qcontactactiontarget.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcontactactiontarget.cpp -->
  <title>QContactActionTarget 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 >QContactActionTarget</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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QContactActionTarget Class</h1>
<!-- $$$QContactActionTarget-brief -->
<p>The <a href="qcontactactiontarget.html">QContactActionTarget</a> class provides information about the target of an action. It may be either a contact, a contact and a detail of that contact, or a contact and a list of the details of the contact, which together should be used by the action. <a href="#details">More...</a></p>
<!-- @@@QContactActionTarget -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QContactActionTarget&gt;</span>
</td></tr></table></div><ul>
<li><a href="qcontactactiontarget-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="qcontactactiontarget.html#Type-enum">Type</a></b> { Invalid, WholeContact, SingleDetail, MultipleDetails }</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"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#QContactActionTarget">QContactActionTarget</a></b>(const QContact &amp;<i>contact</i> = QContact(), const QList&lt;QContactDetail&gt; &amp;<i>details</i> = QList&lt;QContactDetail&gt; ())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#QContactActionTarget-1">QContactActionTarget</a></b>(const QContact &amp;<i>contact</i>, const QContactDetail &amp;<i>detail</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#QContactActionTarget-2">QContactActionTarget</a></b>(const QContactActionTarget &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#dtor.QContactActionTarget">~QContactActionTarget</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContact </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#contact">contact</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QContactDetail&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#details">details</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#isValid">isValid</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#setContact">setContact</a></b>(const QContact &amp;<i>contact</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#setDetails">setDetails</a></b>(const QList&lt;QContactDetail&gt; &amp;<i>details</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Type </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#type">type</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#operator-not-eq">operator!=</a></b>(const QContactActionTarget &amp;<i>other</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContactActionTarget &amp;</td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#operator-eq">operator=</a></b>(const QContactActionTarget &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactactiontarget.html#operator-eq-eq">operator==</a></b>(const QContactActionTarget &amp;<i>other</i>) const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QContactActionTarget-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qcontactactiontarget.html">QContactActionTarget</a> class provides information about the target of an action. It may be either a contact, a contact and a detail of that contact, or a contact and a list of the details of the contact, which together should be used by the action.</p>
</div>
<!-- @@@QContactActionTarget -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Type$$$Invalid$$$WholeContact$$$SingleDetail$$$MultipleDetails -->
<h3 class="fn" id="Type-enum"><a name="Type-enum"></a>enum QContactActionTarget::<span class="name">Type</span></h3>
<p>This enumerator defines the type of a <a href="qcontactactiontarget.html">QContactActionTarget</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>QContactActionTarget::Invalid</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The type is invalid.</td></tr>
<tr><td class="topAlign"><code>QContactActionTarget::WholeContact</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The type is a complete contact.</td></tr>
<tr><td class="topAlign"><code>QContactActionTarget::SingleDetail</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The type is only a single detail.</td></tr>
<tr><td class="topAlign"><code>QContactActionTarget::MultipleDetails</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The type contains multiple details.</td></tr>
</table></div>
<!-- @@@Type -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QContactActionTarget[overload1]$$$QContactActionTargetconstQContact&constQList<QContactDetail>& -->
<h3 class="fn" id="QContactActionTarget"><a name="QContactActionTarget"></a>QContactActionTarget::<span class="name">QContactActionTarget</span>(const <span class="type"><a href="qcontact.html">QContact</a></span> &amp;<i>contact</i> = QContact(), const <span class="type">QList</span>&lt;<span class="type"><a href="qcontactdetail.html">QContactDetail</a></span>&gt; &amp;<i>details</i> = QList&lt;QContactDetail&gt; ())</h3>
<p>Constructs a new action target from the given <i>contact</i> and the given list of that contact's <i>details</i>. If no <i>contact</i> is specified, the target will be invalid. If a <i>contact</i> but no <i>details</i> are specified, the target will be valid, but the action which operates on the target may fail (for example, if it requires a certain detail to be specified in order to perform the action).</p>
<!-- @@@QContactActionTarget -->
<!-- $$$QContactActionTarget$$$QContactActionTargetconstQContact&constQContactDetail& -->
<h3 class="fn" id="QContactActionTarget-1"><a name="QContactActionTarget-1"></a>QContactActionTarget::<span class="name">QContactActionTarget</span>(const <span class="type"><a href="qcontact.html">QContact</a></span> &amp;<i>contact</i>, const <span class="type"><a href="qcontactdetail.html">QContactDetail</a></span> &amp;<i>detail</i>)</h3>
<p>Constructs a new action target from the given <i>contact</i> and a specific <i>detail</i> of that contact</p>
<!-- @@@QContactActionTarget -->
<!-- $$$QContactActionTarget$$$QContactActionTargetconstQContactActionTarget& -->
<h3 class="fn" id="QContactActionTarget-2"><a name="QContactActionTarget-2"></a>QContactActionTarget::<span class="name">QContactActionTarget</span>(const <span class="type"><a href="qcontactactiontarget.html#QContactActionTarget">QContactActionTarget</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a copy of the <i>other</i> action target</p>
<!-- @@@QContactActionTarget -->
<!-- $$$~QContactActionTarget[overload1]$$$~QContactActionTarget -->
<h3 class="fn" id="dtor.QContactActionTarget"><a name="dtor.QContactActionTarget"></a>QContactActionTarget::<span class="name">~QContactActionTarget</span>()</h3>
<p>Cleans up any memory in use by the action target</p>
<!-- @@@~QContactActionTarget -->
<!-- $$$contact[overload1]$$$contact -->
<h3 class="fn" id="contact"><a name="contact"></a><span class="type"><a href="qcontact.html">QContact</a></span> QContactActionTarget::<span class="name">contact</span>() const</h3>
<p>Returns the contact that this action target will operate on.</p>
<p><b>See also </b><a href="qcontactactiontarget.html#setContact">setContact</a>() and <a href="qcontactactiontarget.html#details">details</a>().</p>
<!-- @@@contact -->
<!-- $$$details[overload1]$$$details -->
<h3 class="fn" id="details"><a name="details"></a><span class="type">QList</span>&lt;<span class="type"><a href="qcontactdetail.html">QContactDetail</a></span>&gt; QContactActionTarget::<span class="name">details</span>() const</h3>
<p>Returns the details that this action target will operate on.</p>
<p><b>See also </b><a href="qcontactactiontarget.html#setDetails">setDetails</a>() and <a href="qcontactactiontarget.html#contact">contact</a>().</p>
<!-- @@@details -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn" id="isValid"><a name="isValid"></a><span class="type">bool</span> QContactActionTarget::<span class="name">isValid</span>() const</h3>
<p>Returns true if the target contact is not the default constructed contact. The validity of any specified details is not checked by this function.</p>
<!-- @@@isValid -->
<!-- $$$setContact[overload1]$$$setContactconstQContact& -->
<h3 class="fn" id="setContact"><a name="setContact"></a><span class="type">void</span> QContactActionTarget::<span class="name">setContact</span>(const <span class="type"><a href="qcontact.html">QContact</a></span> &amp;<i>contact</i>)</h3>
<p>Sets the contact that this action target will operate on to <i>contact</i>.</p>
<p><b>See also </b><a href="qcontactactiontarget.html#contact">contact</a>() and <a href="qcontactactiontarget.html#setDetails">setDetails</a>().</p>
<!-- @@@setContact -->
<!-- $$$setDetails[overload1]$$$setDetailsconstQList<QContactDetail>& -->
<h3 class="fn" id="setDetails"><a name="setDetails"></a><span class="type">void</span> QContactActionTarget::<span class="name">setDetails</span>(const <span class="type">QList</span>&lt;<span class="type"><a href="qcontactdetail.html">QContactDetail</a></span>&gt; &amp;<i>details</i>)</h3>
<p>Sets the details that this action target will operate on to <i>details</i>.</p>
<p><b>See also </b><a href="qcontactactiontarget.html#details">details</a>() and <a href="qcontactactiontarget.html#setContact">setContact</a>().</p>
<!-- @@@setDetails -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn" id="type"><a name="type"></a><span class="type"><a href="qcontactactiontarget.html#Type-enum">Type</a></span> QContactActionTarget::<span class="name">type</span>() const</h3>
<p>Returns the type of this action target.</p>
<p>The type is determined by the properties that have been set on this target.</p>
<!-- @@@type -->
<!-- $$$operator!=[overload1]$$$operator!=constQContactActionTarget& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QContactActionTarget::<span class="name">operator!=</span>(const <span class="type"><a href="qcontactactiontarget.html#QContactActionTarget">QContactActionTarget</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if the contacts or details specified by this action target are different to that specified by <i>other</i></p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQContactActionTarget& -->
<h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qcontactactiontarget.html#QContactActionTarget">QContactActionTarget</a></span> &amp;QContactActionTarget::<span class="name">operator=</span>(const <span class="type"><a href="qcontactactiontarget.html#QContactActionTarget">QContactActionTarget</a></span> &amp;<i>other</i>)</h3>
<p>Assigns this action target to be equal to <i>other</i></p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQContactActionTarget& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QContactActionTarget::<span class="name">operator==</span>(const <span class="type"><a href="qcontactactiontarget.html#QContactActionTarget">QContactActionTarget</a></span> &amp;<i>other</i>) const</h3>
<p>Returns true if the contacts and details specified by this action target are equal to those specified by <i>other</i></p>
<!-- @@@operator== -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>