Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 2c21526e2a037dc4eaceb3895021e482 > files > 214

qtlocation5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qplaceidreply.cpp -->
  <title>QPlaceIdReply Class | Qt Location 5.12.6</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.12</td><td ><a href="qtlocation-index.html">Qt Location</a></td><td ><a href="qtlocation-module.html">C++ Classes</a></td><td >QPlaceIdReply</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtlocation-index.html">Qt 5.12.6 Reference Documentation</a></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="#reimplemented-public-functions">Reimplemented Public Functions</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</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>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QPlaceIdReply Class</h1>
<!-- $$$QPlaceIdReply-brief -->
<p>The <a href="qplaceidreply.html">QPlaceIdReply</a> class manages operations which return an identifier such as saving and removal operations of places and categories. <a href="#details">More...</a></p>
<!-- @@@QPlaceIdReply -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QPlaceIdReply&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += location</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.6</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qplacereply.html">QPlaceReply</a></td></tr></table></div><ul>
<li><a href="qplaceidreply-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="qplaceidreply.html#OperationType-enum">OperationType</a></b> { SavePlace, RemovePlace, SaveCategory, RemoveCategory }</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="qplaceidreply.html#QPlaceIdReply">QPlaceIdReply</a></b>(QPlaceIdReply::OperationType <i>operationType</i>, QObject *<i>parent</i> = nullptr)</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"> QPlaceIdReply::OperationType </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#operationType">operationType</a></b>() const</td></tr>
</table></div>
<a name="reimplemented-public-functions"></a>
<h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2>
<div class="table"><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></div>
<ul>
<li class="fn">4 public functions inherited from <a href="qplacereply.html#public-functions">QPlaceReply</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 QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qplaceidreply.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<a name="protected-functions"></a>
<h2 id="protected-functions">Protected Functions</h2>
<div class="table"><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 &amp;<i>identifier</i>)</td></tr>
</table></div>
<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">4 signals inherited from <a href="qplacereply.html#signals">QPlaceReply</a></li>
</ul>
<a name="details"></a>
<!-- $$$QPlaceIdReply-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qplaceidreply.html">QPlaceIdReply</a> class manages operations which return an identifier such as saving and removal operations of places and categories.</p>
<p>The <a href="qplaceidreply.html">QPlaceIdReply</a> 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" id="OperationType-enum"><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>
<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>QPlaceIdReply::SavePlace</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The reply was created for a save place operation</td></tr>
<tr><td class="topAlign"><code>QPlaceIdReply::RemovePlace</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The reply was created for a remove place operation.</td></tr>
<tr><td class="topAlign"><code>QPlaceIdReply::SaveCategory</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The reply was created for a save category operation</td></tr>
<tr><td class="topAlign"><code>QPlaceIdReply::RemoveCategory</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The reply was created for a remove category operation.</td></tr>
</table></div>
<!-- @@@OperationType -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPlaceIdReply[overload1]$$$QPlaceIdReplyQPlaceIdReply::OperationTypeQObject* -->
<h3 class="fn" id="QPlaceIdReply"><a name="QPlaceIdReply"></a>QPlaceIdReply::<span class="name">QPlaceIdReply</span>(<span class="type"><a href="qplaceidreply.html#OperationType-enum">QPlaceIdReply::OperationType</a></span> <i>operationType</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</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" id="dtor.QPlaceIdReply"><a name="dtor.QPlaceIdReply"></a><code>[virtual] </code>QPlaceIdReply::<span class="name">~QPlaceIdReply</span>()</h3>
<p>Destroys the reply.</p>
<!-- @@@~QPlaceIdReply -->
<!-- $$$id[overload1]$$$id -->
<h3 class="fn" id="id"><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" id="operationType"><a name="operationType"></a><span class="type"><a href="qplaceidreply.html#OperationType-enum">QPlaceIdReply::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" id="setId"><a name="setId"></a><code>[protected] </code><span class="type">void</span> QPlaceIdReply::<span class="name">setId</span>(const <span class="type">QString</span> &amp;<i>identifier</i>)</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" id="type"><a name="type"></a><code>[virtual] </code><span class="type"><a href="qplacereply.html#Type-enum">QPlaceReply::Type</a></span> QPlaceIdReply::<span class="name">type</span>() const</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">&copy;</acronym> 2019 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>