/usr/share/qt5/doc/qtcontacts/qcontactrelationshipsaverequest.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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcontactrelationshipsaverequest.cpp -->
<title>QContactRelationshipSaveRequest 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 >QContactRelationshipSaveRequest</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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QContactRelationshipSaveRequest Class</h1>
<!-- $$$QContactRelationshipSaveRequest-brief -->
<p>The <a href="qcontactrelationshipsaverequest.html">QContactRelationshipSaveRequest</a> class allows a client to asynchronously request that certain groups be saved to a contacts store. <a href="#details">More...</a></p>
<!-- @@@QContactRelationshipSaveRequest -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QContactRelationshipSaveRequest></span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qcontactabstractrequest.html">QContactAbstractRequest</a></td></tr></table></div><ul>
<li><a href="qcontactrelationshipsaverequest-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="qcontactrelationshipsaverequest.html#QContactRelationshipSaveRequest">QContactRelationshipSaveRequest</a></b>(QObject *<i>parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactrelationshipsaverequest.html#dtor.QContactRelationshipSaveRequest">~QContactRelationshipSaveRequest</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMap<int, QContactManager::Error> </td><td class="memItemRight bottomAlign"><b><a href="qcontactrelationshipsaverequest.html#errorMap">errorMap</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList<QContactRelationship> </td><td class="memItemRight bottomAlign"><b><a href="qcontactrelationshipsaverequest.html#relationships">relationships</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactrelationshipsaverequest.html#setRelationship">setRelationship</a></b>(const QContactRelationship &<i>contactRelationship</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactrelationshipsaverequest.html#setRelationships">setRelationships</a></b>(const QList<QContactRelationship> &<i>contactRelationships</i>)</td></tr>
</table></div>
<ul>
<li class="fn">9 public functions inherited from <a href="qcontactabstractrequest.html#public-functions">QContactAbstractRequest</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">3 public slots inherited from <a href="qcontactabstractrequest.html#public-slots">QContactAbstractRequest</a></li>
<li class="fn">2 signals inherited from <a href="qcontactabstractrequest.html#signals">QContactAbstractRequest</a></li>
</ul>
<a name="details"></a>
<!-- $$$QContactRelationshipSaveRequest-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qcontactrelationshipsaverequest.html">QContactRelationshipSaveRequest</a> class allows a client to asynchronously request that certain groups be saved to a contacts store.</p>
<p>For a <a href="qcontactrelationshipsaverequest.html">QContactRelationshipSaveRequest</a>, the <a href="qcontactabstractrequest.html#resultsAvailable">resultsAvailable</a>() signal will be emitted when either the individual item errors (which may be retrieved by calling <a href="qcontactrelationshipsaverequest.html#errorMap">errorMap</a>()), or the resultant relationships (which may be retrieved by calling <a href="qcontactrelationshipsaverequest.html#relationships">relationships</a>()), are updated, as well as if the overall operation error (which may be retrieved by calling <a href="qcontactabstractrequest.html#error">error</a>()) is updated.</p>
<p>Please see the class documentation of <a href="qcontactabstractrequest.html">QContactAbstractRequest</a> for more information about the usage of request classes and ownership semantics.</p>
</div>
<!-- @@@QContactRelationshipSaveRequest -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QContactRelationshipSaveRequest[overload1]$$$QContactRelationshipSaveRequestQObject* -->
<h3 class="fn" id="QContactRelationshipSaveRequest"><a name="QContactRelationshipSaveRequest"></a>QContactRelationshipSaveRequest::<span class="name">QContactRelationshipSaveRequest</span>(<span class="type">QObject</span> *<i>parent</i> = 0)</h3>
<p>Constructs a new relationship save request whose parent is the specified <i>parent</i></p>
<!-- @@@QContactRelationshipSaveRequest -->
<!-- $$$~QContactRelationshipSaveRequest[overload1]$$$~QContactRelationshipSaveRequest -->
<h3 class="fn" id="dtor.QContactRelationshipSaveRequest"><a name="dtor.QContactRelationshipSaveRequest"></a>QContactRelationshipSaveRequest::<span class="name">~QContactRelationshipSaveRequest</span>()</h3>
<p>Frees any memory used by this request</p>
<!-- @@@~QContactRelationshipSaveRequest -->
<!-- $$$errorMap[overload1]$$$errorMap -->
<h3 class="fn" id="errorMap"><a name="errorMap"></a><span class="type">QMap</span><<span class="type">int</span>, <span class="type"><a href="qcontactmanager.html#Error-enum">QContactManager::Error</a></span>> QContactRelationshipSaveRequest::<span class="name">errorMap</span>() const</h3>
<p>Returns the map of input relationship list indices to errors which occurred</p>
<!-- @@@errorMap -->
<!-- $$$relationships[overload1]$$$relationships -->
<h3 class="fn" id="relationships"><a name="relationships"></a><span class="type">QList</span><<span class="type"><a href="qcontactrelationship.html">QContactRelationship</a></span>> QContactRelationshipSaveRequest::<span class="name">relationships</span>() const</h3>
<p>Returns the list of relationships that will be saved if called prior to calling <code>start()</code>, otherwise returns the list of relationships as they were saved in the contacts store</p>
<p><b>See also </b><a href="qcontactrelationshipsaverequest.html#setRelationships">setRelationships</a>().</p>
<!-- @@@relationships -->
<!-- $$$setRelationship[overload1]$$$setRelationshipconstQContactRelationship& -->
<h3 class="fn" id="setRelationship"><a name="setRelationship"></a><span class="type">void</span> QContactRelationshipSaveRequest::<span class="name">setRelationship</span>(const <span class="type"><a href="qcontactrelationship.html">QContactRelationship</a></span> &<i>contactRelationship</i>)</h3>
<p>Sets the relationship to save to be <i>contactRelationship</i>. Equivalent to calling:</p>
<pre class="cpp">
setRelationships(<span class="type">QList</span><span class="operator"><</span><span class="type"><a href="qcontactrelationship.html">QContactRelationship</a></span><span class="operator">></span>() <span class="operator"><</span><span class="operator"><</span> contactRelationships);
</pre>
<!-- @@@setRelationship -->
<!-- $$$setRelationships[overload1]$$$setRelationshipsconstQList<QContactRelationship>& -->
<h3 class="fn" id="setRelationships"><a name="setRelationships"></a><span class="type">void</span> QContactRelationshipSaveRequest::<span class="name">setRelationships</span>(const <span class="type">QList</span><<span class="type"><a href="qcontactrelationship.html">QContactRelationship</a></span>> &<i>contactRelationships</i>)</h3>
<p>Sets the relationships to save to be <i>contactRelationships</i></p>
<p><b>See also </b><a href="qcontactrelationshipsaverequest.html#relationships">relationships</a>().</p>
<!-- @@@setRelationships -->
</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>
|