/usr/share/qt5/doc/qtlocation/qplacereview.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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | <?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" />
<!-- qplacereview.cpp -->
<title>QPlaceReview 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>QPlaceReview</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-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QPlaceReview Class</h1>
<!-- $$$QPlaceReview-brief -->
<p>The QPlaceReview class represents a review of a place. <a href="#details">More...</a></p>
<!-- @@@QPlaceReview -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QPlaceReview></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="qplacecontent.html">QPlaceContent</a>.</td></tr></table><ul>
<li><a href="qplacereview-members.html">List of all members, including inherited members</a></li>
</ul>
<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="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-2">QPlaceReview</a></b>(const QPlaceContent &<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 &<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 &<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 &<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 &<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 &<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>
<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>Detailed Description</h2>
<p>The QPlaceReview class represents a review of a place.</p>
<p>Each QPlaceReview 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"><a name="QPlaceReview"></a>QPlaceReview::<span class="name">QPlaceReview</span>()</h3>
<p>Constructs a new review object.</p>
<!-- @@@QPlaceReview -->
<!-- $$$QPlaceReview$$$QPlaceReviewconstQPlaceContent& -->
<h3 class="fn"><a name="QPlaceReview-2"></a>QPlaceReview::<span class="name">QPlaceReview</span>(const <span class="type"><a href="qplacecontent.html">QPlaceContent</a></span> &<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"><a name="dtor.QPlaceReview"></a>QPlaceReview::<span class="name">~QPlaceReview</span>()<tt> [virtual]</tt></h3>
<p>Destroys the review.</p>
<!-- @@@~QPlaceReview -->
<!-- $$$dateTime[overload1]$$$dateTime -->
<h3 class="fn"><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"><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"><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"><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"><a name="setDateTime"></a><span class="type">void</span> QPlaceReview::<span class="name">setDateTime</span>(const <span class="type">QDateTime</span> &<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"><a name="setLanguage"></a><span class="type">void</span> QPlaceReview::<span class="name">setLanguage</span>(const <span class="type">QString</span> &<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"><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"><a name="setReviewId"></a><span class="type">void</span> QPlaceReview::<span class="name">setReviewId</span>(const <span class="type">QString</span> &<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"><a name="setText"></a><span class="type">void</span> QPlaceReview::<span class="name">setText</span>(const <span class="type">QString</span> &<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"><a name="setTitle"></a><span class="type">void</span> QPlaceReview::<span class="name">setTitle</span>(const <span class="type">QString</span> &<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"><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"><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">©</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>
|