This file is indexed.

/usr/share/qt5/doc/qtlocation/qplacereply.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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<?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" />
<!-- qplacereply.cpp -->
  <title>QPlaceReply 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>QPlaceReply</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="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#signals">Signals</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">QPlaceReply Class</h1>
<!-- $$$QPlaceReply-brief -->
<p>The QPlaceReply class manages an operation started by an instance of <a href="qplacemanager.html">QPlaceManager</a> and serves as a base class for more specialized replies. <a href="#details">More...</a></p>
<!-- @@@QPlaceReply -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include &lt;QPlaceReply&gt;</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"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qplacecontentreply.html">QPlaceContentReply</a>, <a href="qplacedetailsreply.html">QPlaceDetailsReply</a>, <a href="qplaceidreply.html">QPlaceIdReply</a>, <a href="qplacematchreply.html">QPlaceMatchReply</a>, <a href="qplacesearchreply.html">QPlaceSearchReply</a>, and <a href="qplacesearchsuggestionreply.html">QPlaceSearchSuggestionReply</a>.</p>
</td></tr></table><ul>
<li><a href="qplacereply-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="qplacereply.html#Error-enum">Error</a></b> { NoError, PlaceDoesNotExistError, CategoryDoesNotExistError, CommunicationError, ..., UnknownError }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#Type-enum">Type</a></b> { Reply, DetailsReply, SearchReply, SearchSuggestionReply, ..., MatchReply }</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="qplacereply.html#QPlaceReply">QPlaceReply</a></b>(QObject *<i> parent</i> = 0)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#dtor.QPlaceReply">~QPlaceReply</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPlaceReply::Error </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#error">error</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#errorString">errorString</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#isFinished">isFinished</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual Type </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#type">type</a></b>() const</td></tr>
</table>
<a name="public-slots"></a>
<h2>Public Slots</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#abort">abort</a></b>()</td></tr>
</table>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#error-2">error</a></b>(QPlaceReply::Error<i> error</i>, const QString &amp;<i> errorString</i> = QString())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#finished">finished</a></b>()</td></tr>
</table>
<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="qplacereply.html#setError">setError</a></b>(QPlaceReply::Error<i> error</i>, const QString &amp;<i> errorString</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qplacereply.html#setFinished">setFinished</a></b>(bool<i> finished</i>)</td></tr>
</table>
<a name="details"></a>
<!-- $$$QPlaceReply-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QPlaceReply class manages an operation started by an instance of <a href="qplacemanager.html">QPlaceManager</a> and serves as a base class for more specialized replies.</p>
<p>The QPlaceReply and each of its specialized subclasses manage the state and results of their corresponding operations. The QPlaceReply itself is used for operations that have no results, that is, it only necessary to know if the operation succeeded or failed.</p>
<p>The <a href="qplacereply.html#finished">finished</a>() signal can be used to monitor the progress of an operation. Once an operation is complete, the <a href="qplacereply.html#error">error</a>() and <a href="qplacereply.html#errorString">errorString</a>() methods provide information on whether the operation completed successfully. If successful, the reply will contain the results for that operation, that is, each subclass will have appropriate functions to retrieve the results of an operation.</p>
</div>
<p><b>See also </b><a href="qplacemanager.html">QPlaceManager</a>.</p>
<!-- @@@QPlaceReply -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Error$$$NoError$$$PlaceDoesNotExistError$$$CategoryDoesNotExistError$$$CommunicationError$$$ParseError$$$PermissionsError$$$UnsupportedError$$$BadArgumentError$$$CancelError$$$UnknownError -->
<h3 class="fn"><a name="Error-enum"></a>enum QPlaceReply::<span class="name">Error</span></h3>
<p>Describes an error which occurred during an operation.</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>QPlaceReply::NoError</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No error has occurred</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::PlaceDoesNotExistError</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">A specified place could not be found</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::CategoryDoesNotExistError</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">A specified category could not be found</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::CommunicationError</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">An error occurred communicating with the service provider.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::ParseError</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">The response from the service provider or an import file was in an unrecognizable format</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::PermissionsError</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">The operation failed because of insufficient permissions.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::UnsupportedError</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">The operation was not supported by the service provider.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::BadArgumentError</tt></td><td class="topAlign"><tt>7</tt></td><td class="topAlign">. A parameter that was provided was invalid.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::CancelError</tt></td><td class="topAlign"><tt>8</tt></td><td class="topAlign">The operation was canceled.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::UnknownError</tt></td><td class="topAlign"><tt>9</tt></td><td class="topAlign">An error occurred which does not fit into any of the other categories.</td></tr>
</table>
<!-- @@@Error -->
<!-- $$$Type$$$Reply$$$DetailsReply$$$SearchReply$$$SearchSuggestionReply$$$ContentReply$$$IdReply$$$MatchReply -->
<h3 class="fn"><a name="Type-enum"></a>enum QPlaceReply::<span class="name">Type</span></h3>
<p>Describes the reply's type.</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>QPlaceReply::Reply</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">This is a generic reply.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::DetailsReply</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">This is a reply for the retrieval of place details</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::SearchReply</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">This is a reply for the place search operation.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::SearchSuggestionReply</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">This is a reply for a search suggestion operation.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::ContentReply</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">This is a reply for content associated with a place.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::IdReply</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">This is a reply that returns an identifier of a place or category. Typically used for place or category save and remove operations.</td></tr>
<tr><td class="topAlign"><tt>QPlaceReply::MatchReply</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">This is a reply that returns places that match those from another provider.</td></tr>
</table>
<!-- @@@Type -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPlaceReply[overload1]$$$QPlaceReplyQObject* -->
<h3 class="fn"><a name="QPlaceReply"></a>QPlaceReply::<span class="name">QPlaceReply</span>(<span class="type">QObject</span> *<i> parent</i> = 0)</h3>
<p>Constructs a reply object with a given <i>parent</i>.</p>
<!-- @@@QPlaceReply -->
<!-- $$$~QPlaceReply[overload1]$$$~QPlaceReply -->
<h3 class="fn"><a name="dtor.QPlaceReply"></a>QPlaceReply::<span class="name">~QPlaceReply</span>()</h3>
<p>Destroys the reply object.</p>
<!-- @@@~QPlaceReply -->
<!-- $$$abort[overload1]$$$abort -->
<h3 class="fn"><a name="abort"></a><span class="type">void</span> QPlaceReply::<span class="name">abort</span>()<tt> [virtual slot]</tt></h3>
<p>Aborts the operation.</p>
<!-- @@@abort -->
<!-- $$$error[overload1]$$$error -->
<h3 class="fn"><a name="error"></a><span class="type"><a href="qplacereply.html#Error-enum">QPlaceReply::Error</a></span> QPlaceReply::<span class="name">error</span>() const</h3>
<p>Returns the error code.</p>
<p><b>See also </b><a href="qplacereply.html#setError">setError</a>().</p>
<!-- @@@error -->
<!-- $$$error$$$errorQPlaceReply::ErrorconstQString& -->
<h3 class="fn"><a name="error-2"></a><span class="type">void</span> QPlaceReply::<span class="name">error</span>(<span class="type"><a href="qplacereply.html#Error-enum">QPlaceReply::Error</a></span><i> error</i>, const <span class="type">QString</span> &amp;<i> errorString</i> = QString())<tt> [signal]</tt></h3>
<p>This signal is emitted when an error has been detected in the processing of this reply. The <a href="qplacereply.html#finished">finished</a>() signal will probably follow.</p>
<p>The error will be described by the error code <i>error</i>. If <i>errorString</i> is not empty it will contain a textual description of the error meant for developers and not end users.</p>
<p>This signal and <a href="qplacemanager.html#error">QPlaceManager::error</a>() will be emitted at the same time.</p>
<p><b>Note: </b>Do not delete this reply object in the slot connected to this signal. Use deleteLater() instead.</p><!-- @@@error -->
<!-- $$$errorString[overload1]$$$errorString -->
<h3 class="fn"><a name="errorString"></a><span class="type">QString</span> QPlaceReply::<span class="name">errorString</span>() const</h3>
<p>Returns the error string of the reply. The error string is intended to be used by developers only and is not fit to be displayed to an end user.</p>
<p>If no error has occurred, the string is empty.</p>
<!-- @@@errorString -->
<!-- $$$finished[overload1]$$$finished -->
<h3 class="fn"><a name="finished"></a><span class="type">void</span> QPlaceReply::<span class="name">finished</span>()<tt> [signal]</tt></h3>
<p>This signal is emitted when this reply has finished processing.</p>
<p>If <a href="qplacereply.html#error">error</a>() equals <a href="qplacereply.html#Error-enum">QPlaceReply::NoError</a> then the processing finished successfully.</p>
<p>This signal and <a href="qplacemanager.html#finished">QPlaceManager::finished</a>() will be emitted at the same time.</p>
<p><b>Note: </b>Do not delete this reply object in the slot connected to this signal. Use deleteLater() instead.</p><p><b>See also </b><a href="qplacereply.html#setFinished">setFinished</a>().</p>
<!-- @@@finished -->
<!-- $$$isFinished[overload1]$$$isFinished -->
<h3 class="fn"><a name="isFinished"></a><span class="type">bool</span> QPlaceReply::<span class="name">isFinished</span>() const</h3>
<p>Return true if the reply has completed.</p>
<!-- @@@isFinished -->
<!-- $$$setError[overload1]$$$setErrorQPlaceReply::ErrorconstQString& -->
<h3 class="fn"><a name="setError"></a><span class="type">void</span> QPlaceReply::<span class="name">setError</span>(<span class="type"><a href="qplacereply.html#Error-enum">QPlaceReply::Error</a></span><i> error</i>, const <span class="type">QString</span> &amp;<i> errorString</i>)<tt> [protected]</tt></h3>
<p>Sets the <i>error</i> and <i>errorString</i> of the reply. This function does not cause the QPlaceReply::error(<a href="qplacereply.html#Error-enum">QPlaceReply::Error</a>, const QString &amp;errorString) signal to be emitted.</p>
<p><b>See also </b><a href="qplacereply.html#error">error</a>().</p>
<!-- @@@setError -->
<!-- $$$setFinished[overload1]$$$setFinishedbool -->
<h3 class="fn"><a name="setFinished"></a><span class="type">void</span> QPlaceReply::<span class="name">setFinished</span>(<span class="type">bool</span><i> finished</i>)<tt> [protected]</tt></h3>
<p>Sets the status of whether the reply is <i>finished</i> or not. This function does not cause the <a href="qplacereply.html#finished">finished</a>() signal to be emitted.</p>
<p><b>See also </b><a href="qplacereply.html#finished">finished</a>().</p>
<!-- @@@setFinished -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn"><a name="type"></a><span class="type"><a href="qplacereply.html#Type-enum">Type</a></span> QPlaceReply::<span class="name">type</span>() const<tt> [virtual]</tt></h3>
<p>Returns the type of the reply.</p>
<!-- @@@type -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>