Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 2c21526e2a037dc4eaceb3895021e482 > files > 234

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" />
<!-- qplacereview.cpp -->
  <title>QPlaceReview 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 >QPlaceReview</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-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">QPlaceReview Class</h1>
<!-- $$$QPlaceReview-brief -->
<p>The <a href="qplacereview.html">QPlaceReview</a> class represents a review of a place. <a href="#details">More...</a></p>
<!-- @@@QPlaceReview -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QPlaceReview&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="qplacecontent.html">QPlaceContent</a></td></tr></table></div><ul>
<li><a href="qplacereview-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="qplacereview.html#QPlaceReview">QPlaceReview</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#QPlaceReview-1">QPlaceReview</a></b>(const QPlaceContent &amp;<i>other</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#dtor.QPlaceReview">~QPlaceReview</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDateTime </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#dateTime">dateTime</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#language">language</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#rating">rating</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#reviewId">reviewId</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#setDateTime">setDateTime</a></b>(const QDateTime &amp;<i>dateTime</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#setLanguage">setLanguage</a></b>(const QString &amp;<i>language</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#setRating">setRating</a></b>(qreal <i>rating</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#setReviewId">setReviewId</a></b>(const QString &amp;<i>identifier</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#setText">setText</a></b>(const QString &amp;<i>text</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#setTitle">setTitle</a></b>(const QString &amp;<i>title</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#text">text</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacereview.html#title">title</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">10 public functions inherited from <a href="qplacecontent.html#public-functions">QPlaceContent</a></li>
</ul>
<a name="details"></a>
<!-- $$$QPlaceReview-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qplacereview.html">QPlaceReview</a> class represents a review of a place.</p>
<p>Each <a href="qplacereview.html">QPlaceReview</a> has a number of properties such as a title, text, date of submission and rating; in addition to those properties inherited from <a href="qplacecontent.html">QPlaceContent</a>.</p>
<p>Note: The Places API only supports reviews as 'retrieve-only' objects. Submitting reviews to a provider is not a supported use case.</p>
</div>
<p><b>See also </b><a href="qplacecontent.html">QPlaceContent</a> and <a href="qplaceeditorial.html">QPlaceEditorial</a>.</p>
<!-- @@@QPlaceReview -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPlaceReview[overload1]$$$QPlaceReview -->
<h3 class="fn" id="QPlaceReview"><a name="QPlaceReview"></a>QPlaceReview::<span class="name">QPlaceReview</span>()</h3>
<p>Constructs a new review object.</p>
<!-- @@@QPlaceReview -->
<!-- $$$QPlaceReview$$$QPlaceReviewconstQPlaceContent& -->
<h3 class="fn" id="QPlaceReview-1"><a name="QPlaceReview-1"></a>QPlaceReview::<span class="name">QPlaceReview</span>(const <span class="type"><a href="qplacecontent.html#QPlaceContent">QPlaceContent</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a copy of <i>other</i>, otherwise constructs a default review object.</p>
<!-- @@@QPlaceReview -->
<!-- $$$~QPlaceReview[overload1]$$$~QPlaceReview -->
<h3 class="fn" id="dtor.QPlaceReview"><a name="dtor.QPlaceReview"></a><code>[virtual] </code>QPlaceReview::<span class="name">~QPlaceReview</span>()</h3>
<p>Destroys the review.</p>
<!-- @@@~QPlaceReview -->
<!-- $$$dateTime[overload1]$$$dateTime -->
<h3 class="fn" id="dateTime"><a name="dateTime"></a><span class="type">QDateTime</span> QPlaceReview::<span class="name">dateTime</span>() const</h3>
<p>Returns the date and time that the review was submitted.</p>
<p><b>See also </b><a href="qplacereview.html#setDateTime">setDateTime</a>().</p>
<!-- @@@dateTime -->
<!-- $$$language[overload1]$$$language -->
<h3 class="fn" id="language"><a name="language"></a><span class="type">QString</span> QPlaceReview::<span class="name">language</span>() const</h3>
<p>Returns the language of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.</p>
<p><b>See also </b><a href="qplacereview.html#setLanguage">setLanguage</a>().</p>
<!-- @@@language -->
<!-- $$$rating[overload1]$$$rating -->
<h3 class="fn" id="rating"><a name="rating"></a><span class="type">qreal</span> QPlaceReview::<span class="name">rating</span>() const</h3>
<p>Returns this review's rating of the place.</p>
<p><b>See also </b><a href="qplacereview.html#setRating">setRating</a>().</p>
<!-- @@@rating -->
<!-- $$$reviewId[overload1]$$$reviewId -->
<h3 class="fn" id="reviewId"><a name="reviewId"></a><span class="type">QString</span> QPlaceReview::<span class="name">reviewId</span>() const</h3>
<p>Returns the review's identifier.</p>
<p><b>See also </b><a href="qplacereview.html#setReviewId">setReviewId</a>().</p>
<!-- @@@reviewId -->
<!-- $$$setDateTime[overload1]$$$setDateTimeconstQDateTime& -->
<h3 class="fn" id="setDateTime"><a name="setDateTime"></a><span class="type">void</span> QPlaceReview::<span class="name">setDateTime</span>(const <span class="type">QDateTime</span> &amp;<i>dateTime</i>)</h3>
<p>Sets the date and time that the review was submitted to <i>dateTime</i>.</p>
<p><b>See also </b><a href="qplacereview.html#dateTime">dateTime</a>().</p>
<!-- @@@setDateTime -->
<!-- $$$setLanguage[overload1]$$$setLanguageconstQString& -->
<h3 class="fn" id="setLanguage"><a name="setLanguage"></a><span class="type">void</span> QPlaceReview::<span class="name">setLanguage</span>(const <span class="type">QString</span> &amp;<i>language</i>)</h3>
<p>Sets the <i>language</i> of the review. Typically this would be a language code in the 2 letter ISO 639-1 format.</p>
<p><b>See also </b><a href="qplacereview.html#language">language</a>().</p>
<!-- @@@setLanguage -->
<!-- $$$setRating[overload1]$$$setRatingqreal -->
<h3 class="fn" id="setRating"><a name="setRating"></a><span class="type">void</span> QPlaceReview::<span class="name">setRating</span>(<span class="type">qreal</span> <i>rating</i>)</h3>
<p>Sets the review's <i>rating</i> of the place.</p>
<p><b>See also </b><a href="qplacereview.html#rating">rating</a>().</p>
<!-- @@@setRating -->
<!-- $$$setReviewId[overload1]$$$setReviewIdconstQString& -->
<h3 class="fn" id="setReviewId"><a name="setReviewId"></a><span class="type">void</span> QPlaceReview::<span class="name">setReviewId</span>(const <span class="type">QString</span> &amp;<i>identifier</i>)</h3>
<p>Sets the <i>identifier</i> of the review.</p>
<p><b>See also </b><a href="qplacereview.html#reviewId">reviewId</a>().</p>
<!-- @@@setReviewId -->
<!-- $$$setText[overload1]$$$setTextconstQString& -->
<h3 class="fn" id="setText"><a name="setText"></a><span class="type">void</span> QPlaceReview::<span class="name">setText</span>(const <span class="type">QString</span> &amp;<i>text</i>)</h3>
<p>Sets <i>text</i> of the review.</p>
<p><b>See also </b><a href="qplacereview.html#text">text</a>().</p>
<!-- @@@setText -->
<!-- $$$setTitle[overload1]$$$setTitleconstQString& -->
<h3 class="fn" id="setTitle"><a name="setTitle"></a><span class="type">void</span> QPlaceReview::<span class="name">setTitle</span>(const <span class="type">QString</span> &amp;<i>title</i>)</h3>
<p>Sets the <i>title</i> of the review.</p>
<p><b>See also </b><a href="qplacereview.html#title">title</a>().</p>
<!-- @@@setTitle -->
<!-- $$$text[overload1]$$$text -->
<h3 class="fn" id="text"><a name="text"></a><span class="type">QString</span> QPlaceReview::<span class="name">text</span>() const</h3>
<p>Returns a textual description of the place.</p>
<p>Depending on the provider the text could be rich (HTML based) or plain text.</p>
<p><b>See also </b><a href="qplacereview.html#setText">setText</a>().</p>
<!-- @@@text -->
<!-- $$$title[overload1]$$$title -->
<h3 class="fn" id="title"><a name="title"></a><span class="type">QString</span> QPlaceReview::<span class="name">title</span>() const</h3>
<p>Returns the title of the review.</p>
<p><b>See also </b><a href="qplacereview.html#setTitle">setTitle</a>().</p>
<!-- @@@title -->
</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>