/usr/share/qt5/doc/qtlocation/qplaceidreply.html is in qtlocation5-doc-html 5.2.1-1ubuntu2.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qplaceidreply.cpp -->
<title>QPlaceIdReply Class | QtLocation 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtlocation-index.html">Qt Location</a></li>
<li><a href="qtlocation-module.html">C++ Classes</a></li>
<li>QPlaceIdReply</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QPlaceIdReply Class</h1>
<!-- $$$QPlaceIdReply-brief -->
<p>The QPlaceIdReply class manages operations which return an identifier such as saving and removal operations of places and categories. <a href="#details">More...</a></p>
<!-- @@@QPlaceIdReply -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QPlaceIdReply></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += location</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt Location 5.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qplacereply.html">QPlaceReply</a>.</td></tr></table><ul>
<li><a href="qplaceidreply-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#OperationType-enum">OperationType</a></b> { SavePlace, RemovePlace, SaveCategory, RemoveCategory }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#QPlaceIdReply">QPlaceIdReply</a></b>(OperationType<i> operationType</i>, QObject *<i> parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#dtor.QPlaceIdReply">~QPlaceIdReply</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#id">id</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> OperationType </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#operationType">operationType</a></b>() const</td></tr>
</table>
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QPlaceReply::Type </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#type">type</a></b>() const</td></tr>
</table>
<ul>
<li class="fn">4 public functions inherited from <a href="qplacereply.html#public-functions">QPlaceReply</a></li>
</ul>
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#setId">setId</a></b>(const QString &<i> identifier</i>)</td></tr>
</table>
<ul>
<li class="fn">2 protected functions inherited from <a href="qplacereply.html#protected-functions">QPlaceReply</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="qplacereply.html#public-slots">QPlaceReply</a></li>
<li class="fn">2 signals inherited from <a href="qplacereply.html#signals">QPlaceReply</a></li>
</ul>
<a name="details"></a>
<!-- $$$QPlaceIdReply-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QPlaceIdReply class manages operations which return an identifier such as saving and removal operations of places and categories.</p>
<p>The QPlaceIdReply can be considered a multipurpose reply in that it can be used to save places, save categories, remove places and remove categories. In each case it returns an identifier of the place or category that was added, modified or removed.</p>
<p>See <a href="location-places-cpp.html#saving-a-place-cpp">Saving a place</a> for an example of how to use an identifier reply.</p>
</div>
<p><b>See also </b><a href="qplacemanager.html">QPlaceManager</a>.</p>
<!-- @@@QPlaceIdReply -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$OperationType$$$SavePlace$$$SaveCategory$$$RemovePlace$$$RemoveCategory -->
<h3 class="fn"><a name="OperationType-enum"></a>enum QPlaceIdReply::<span class="name">OperationType</span></h3>
<p>Defines the type of operation that was used to generate this reply.</p>
<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"><tt>QPlaceIdReply::SavePlace</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The reply was created for a save place operation</td></tr>
<tr><td class="topAlign"><tt>QPlaceIdReply::RemovePlace</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">The reply was created for a remove place operation.</td></tr>
<tr><td class="topAlign"><tt>QPlaceIdReply::SaveCategory</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The reply was created for a save category operation</td></tr>
<tr><td class="topAlign"><tt>QPlaceIdReply::RemoveCategory</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">The reply was created for a remove category operation.</td></tr>
</table>
<!-- @@@OperationType -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPlaceIdReply[overload1]$$$QPlaceIdReplyOperationTypeQObject* -->
<h3 class="fn"><a name="QPlaceIdReply"></a>QPlaceIdReply::<span class="name">QPlaceIdReply</span>(<span class="type"><a href="qplaceidreply.html#OperationType-enum">OperationType</a></span><i> operationType</i>, <span class="type">QObject</span> *<i> parent</i> = 0)</h3>
<p>Constructs a reply which contains the identifier of the object operated upon. The reply is for the given <i>operationType</i> and with <i>parent</i>.</p>
<!-- @@@QPlaceIdReply -->
<!-- $$$~QPlaceIdReply[overload1]$$$~QPlaceIdReply -->
<h3 class="fn"><a name="dtor.QPlaceIdReply"></a>QPlaceIdReply::<span class="name">~QPlaceIdReply</span>()<tt> [virtual]</tt></h3>
<p>Destroys the reply.</p>
<!-- @@@~QPlaceIdReply -->
<!-- $$$id[overload1]$$$id -->
<h3 class="fn"><a name="id"></a><span class="type">QString</span> QPlaceIdReply::<span class="name">id</span>() const</h3>
<p>Returns the relevant identifier for the operation. For example for a save place operation, the identifier is that of the saved place. For a category removal operation, it is the identifier of the category that was removed.</p>
<p><b>See also </b><a href="qplaceidreply.html#setId">setId</a>().</p>
<!-- @@@id -->
<!-- $$$operationType[overload1]$$$operationType -->
<h3 class="fn"><a name="operationType"></a><span class="type"><a href="qplaceidreply.html#OperationType-enum">OperationType</a></span> QPlaceIdReply::<span class="name">operationType</span>() const</h3>
<p>Returns the operation type of the reply. This means whether this identifier reply was for a save place operation, remove category operation and so on.</p>
<!-- @@@operationType -->
<!-- $$$setId[overload1]$$$setIdconstQString& -->
<h3 class="fn"><a name="setId"></a><span class="type">void</span> QPlaceIdReply::<span class="name">setId</span>(const <span class="type">QString</span> &<i> identifier</i>)<tt> [protected]</tt></h3>
<p>Sets the <i>identifier</i> of the reply.</p>
<p><b>See also </b><a href="qplaceidreply.html#id">id</a>().</p>
<!-- @@@setId -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn"><a name="type"></a><span class="type"><a href="qplacereply.html#Type-enum">QPlaceReply::Type</a></span> QPlaceIdReply::<span class="name">type</span>() const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qplacereply.html#type">QPlaceReply::type</a>().</p>
<p>Returns the type of reply.</p>
<!-- @@@type -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|