This file is indexed.

/usr/share/qt5/doc/qtlocation/qgeoserviceprovider.html is in qtlocation5-doc-html 5.5.1-3ubuntu1.

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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgeoserviceprovider.cpp -->
  <title>QGeoServiceProvider Class | Qt Location 5.5</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.5</li>
<li><a href="qtlocation-index.html">Qt Location</a></li>
<li><a href="qtlocation-module.html">C++ Classes</a></li>
<li>QGeoServiceProvider</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
    </ul>
    </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="#static-public-members">Static Public Members</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">QGeoServiceProvider Class</h1>
<!-- $$$QGeoServiceProvider-brief -->
<p>The <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> class aggregates access to services which provide geographical information. <a href="#details">More...</a></p>
<!-- @@@QGeoServiceProvider -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include &lt;QGeoServiceProvider&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.5</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="../qtcore/qobject.html">QObject</a></td></tr></table></div><ul>
<li><a href="qgeoserviceprovider-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="qgeoserviceprovider.html#Error-enum">Error</a></b> { NoError, NotSupportedError, UnknownParameterError, MissingRequiredParameterError, ConnectionError }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#GeocodingFeature-enum">GeocodingFeature</a></b> { NoGeocodingFeatures, OnlineGeocodingFeature, OfflineGeocodingFeature, ReverseGeocodingFeature, LocalizedGeocodingFeature, AnyGeocodingFeatures }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#GeocodingFeature-enum">GeocodingFeatures</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#MappingFeature-enum">MappingFeature</a></b> { NoMappingFeatures, OnlineMappingFeature, OfflineMappingFeature, LocalizedMappingFeature, AnyMappingFeatures }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#MappingFeature-enum">MappingFeatures</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#PlacesFeature-enum">PlacesFeature</a></b> { NoPlacesFeatures, OnlinePlacesFeature, OfflinePlacesFeature, SavePlaceFeature, ..., AnyPlacesFeatures }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#PlacesFeature-enum">PlacesFeatures</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#RoutingFeature-enum">RoutingFeature</a></b> { NoRoutingFeatures, OnlineRoutingFeature, OfflineRoutingFeature, LocalizedRoutingFeature, ..., AnyRoutingFeatures }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#RoutingFeature-enum">RoutingFeatures</a></b></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="qgeoserviceprovider.html#QGeoServiceProvider">QGeoServiceProvider</a></b>(const QString &amp;<i> providerName</i>, const QVariantMap &amp;<i> parameters</i> = QVariantMap(), bool<i> allowExperimental</i> = false)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#dtor.QGeoServiceProvider">~QGeoServiceProvider</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Error </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#error">error</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#errorString">errorString</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GeocodingFeatures </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#geocodingFeatures">geocodingFeatures</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoCodingManager * </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#geocodingManager">geocodingManager</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> MappingFeatures </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#mappingFeatures">mappingFeatures</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPlaceManager * </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#placeManager">placeManager</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> PlacesFeatures </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#placesFeatures">placesFeatures</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> RoutingFeatures </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#routingFeatures">routingFeatures</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoRoutingManager * </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#routingManager">routingManager</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#setAllowExperimental">setAllowExperimental</a></b>(bool<i> allow</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#setLocale">setLocale</a></b>(const QLocale &amp;<i> locale</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#setParameters">setParameters</a></b>(const QVariantMap &amp;<i> parameters</i>)</td></tr>
</table></div>
<ul>
<li class="fn">31 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</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"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="qgeoserviceprovider.html#availableServiceProviders">availableServiceProviders</a></b>()</td></tr>
</table></div>
<ul>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QGeoServiceProvider-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> class aggregates access to services which provide geographical information.</p>
<p>The Maps and Navigation API allows people to access various kinds of geographical information, including functionality to perform geocoding, routing and the display of maps. The <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> aggregates the access to a set of these services that are provided by a single vendor.</p>
<p>It is possible to mix and match service providers for the various domains, so that a geocoding manager from one service provider can be used with a geographic routing manager from another service provider.</p>
<p>This is not recommended unless the client is able to verify that the data provided by the different services are compatible, as differences in the underlying data sets could cause serious incongruences between the services.</p>
<p>Subclasses of <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> guarantee that the different services that they provide are interoperable.</p>
<p>At this point there are two GeoServices plugins packaged with Qt. They are accessible using their provider names:</p>
<ul>
<li>&quot;mapbox&quot; -&gt; <a href="location-plugin-mapbox.html">Mapbox service</a></li>
<li>&quot;here&quot; -&gt; <a href="location-plugin-here.html">HERE Services</a></li>
<li>&quot;osm&quot; -&gt; <a href="location-plugin-osm.html">OpenStreetMap Services</a></li>
</ul>
<p>Each service provider must follow a naming convention for their service specific parameter names/keys. They use the provider name as prefix for all their parameter names. For example, the <a href="location-plugin-here.html">HERE</a> service provider requires the <code>here.app_id</code> parameter. When a provider is loaded only those parameters are passed on whose parameter names start with the provider name. This avoids the sharing sensitive parameters such as confidential <code>token</code> or <code>app_id</code> parameters with other plugins.</p>
<p>Please check the GeoServices plugin specific documentation to obtain a complete list of the available parameter names/keys and values.</p>
</div>
<!-- @@@QGeoServiceProvider -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Error$$$NoError$$$NotSupportedError$$$UnknownParameterError$$$MissingRequiredParameterError$$$ConnectionError -->
<h3 class="fn" id="Error-enum"><a name="Error-enum"></a>enum QGeoServiceProvider::<span class="name">Error</span></h3>
<p>Describes an error related to the loading and setup of a service provider plugin.</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>QGeoServiceProvider::NoError</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">No error has occurred.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::NotSupportedError</code></td><td class="topAlign"><code>1</code></td><td class="topAlign">The plugin does not support this functionality.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::UnknownParameterError</code></td><td class="topAlign"><code>2</code></td><td class="topAlign">The plugin did not recognize one of the parameters it was given.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::MissingRequiredParameterError</code></td><td class="topAlign"><code>3</code></td><td class="topAlign">The plugin did not find one of the parameters it was expecting.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::ConnectionError</code></td><td class="topAlign"><code>4</code></td><td class="topAlign">The plugin could not connect to its backend service or database.</td></tr>
</table></div>
<!-- @@@Error -->
<!-- $$$GeocodingFeature$$$NoGeocodingFeatures$$$OnlineGeocodingFeature$$$OfflineGeocodingFeature$$$ReverseGeocodingFeature$$$LocalizedGeocodingFeature$$$AnyGeocodingFeatures -->
<h3 class="flags" id="GeocodingFeature-enum"><a name="GeocodingFeature-enum"></a>enum QGeoServiceProvider::<span class="name">GeocodingFeature</span><br/>flags QGeoServiceProvider::<span class="name">GeocodingFeatures</span></h3>
<p>Describes the geocoding features supported by the geo service provider.</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>QGeoServiceProvider::NoGeocodingFeatures</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">No geocoding features are supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OnlineGeocodingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;0 )</code></td><td class="topAlign">Online geocoding is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OfflineGeocodingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;1 )</code></td><td class="topAlign">Offline geocoding is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::ReverseGeocodingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;2 )</code></td><td class="topAlign">Reverse geocoding is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::LocalizedGeocodingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;3 )</code></td><td class="topAlign">Supports returning geocoding results with localized addresses.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::AnyGeocodingFeatures</code></td><td class="topAlign"><code>~( 0 )</code></td><td class="topAlign">Matches a geo service provider that provides any geocoding features.</td></tr>
</table></div>
<p>The GeocodingFeatures type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;GeocodingFeature&gt;. It stores an OR combination of GeocodingFeature values.</p>
<!-- @@@GeocodingFeature -->
<!-- $$$MappingFeature$$$NoMappingFeatures$$$OnlineMappingFeature$$$OfflineMappingFeature$$$LocalizedMappingFeature$$$AnyMappingFeatures -->
<h3 class="flags" id="MappingFeature-enum"><a name="MappingFeature-enum"></a>enum QGeoServiceProvider::<span class="name">MappingFeature</span><br/>flags QGeoServiceProvider::<span class="name">MappingFeatures</span></h3>
<p>Describes the mapping features supported by the geo service provider.</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>QGeoServiceProvider::NoMappingFeatures</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">No mapping features are supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OnlineMappingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;0 )</code></td><td class="topAlign">Online mapping is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OfflineMappingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;1 )</code></td><td class="topAlign">Offline mapping is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::LocalizedMappingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;2 )</code></td><td class="topAlign">Supports returning localized map data.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::AnyMappingFeatures</code></td><td class="topAlign"><code>~( 0 )</code></td><td class="topAlign">Matches a geo service provider that provides any mapping features.</td></tr>
</table></div>
<p>The MappingFeatures type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;MappingFeature&gt;. It stores an OR combination of MappingFeature values.</p>
<!-- @@@MappingFeature -->
<!-- $$$PlacesFeature$$$NoPlacesFeatures$$$OnlinePlacesFeature$$$OfflinePlacesFeature$$$SavePlaceFeature$$$RemovePlaceFeature$$$SaveCategoryFeature$$$RemoveCategoryFeature$$$PlaceRecommendationsFeature$$$SearchSuggestionsFeature$$$LocalizedPlacesFeature$$$NotificationsFeature$$$PlaceMatchingFeature$$$AnyPlacesFeatures -->
<h3 class="flags" id="PlacesFeature-enum"><a name="PlacesFeature-enum"></a>enum QGeoServiceProvider::<span class="name">PlacesFeature</span><br/>flags QGeoServiceProvider::<span class="name">PlacesFeatures</span></h3>
<p>Describes the places features supported by the geo service provider.</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>QGeoServiceProvider::NoPlacesFeatures</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">No places features are supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OnlinePlacesFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;0 )</code></td><td class="topAlign">Online places is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OfflinePlacesFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;1 )</code></td><td class="topAlign">Offline places is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::SavePlaceFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;2 )</code></td><td class="topAlign">Saving places is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::RemovePlaceFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;3 )</code></td><td class="topAlign">Removing or deleting places is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::SaveCategoryFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;4 )</code></td><td class="topAlign">Saving categories is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::RemoveCategoryFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;5 )</code></td><td class="topAlign">Removing or deleting categories is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::PlaceRecommendationsFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;6 )</code></td><td class="topAlign">Searching for recommended places similar to another place is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::SearchSuggestionsFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;7 )</code></td><td class="topAlign">Search suggestions is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::LocalizedPlacesFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;8 )</code></td><td class="topAlign">Supports returning localized place data.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::NotificationsFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;9 )</code></td><td class="topAlign">Notifications of place and category changes is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::PlaceMatchingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;10 )</code></td><td class="topAlign">Supports matching places from two different geo service providers.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::AnyPlacesFeatures</code></td><td class="topAlign"><code>~( 0 )</code></td><td class="topAlign">Matches a geo service provider that provides any places features.</td></tr>
</table></div>
<p>The PlacesFeatures type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;PlacesFeature&gt;. It stores an OR combination of PlacesFeature values.</p>
<!-- @@@PlacesFeature -->
<!-- $$$RoutingFeature$$$NoRoutingFeatures$$$OnlineRoutingFeature$$$OfflineRoutingFeature$$$LocalizedRoutingFeature$$$RouteUpdatesFeature$$$AlternativeRoutesFeature$$$ExcludeAreasRoutingFeature$$$AnyRoutingFeatures -->
<h3 class="flags" id="RoutingFeature-enum"><a name="RoutingFeature-enum"></a>enum QGeoServiceProvider::<span class="name">RoutingFeature</span><br/>flags QGeoServiceProvider::<span class="name">RoutingFeatures</span></h3>
<p>Describes the routing features supported by the geo service provider.</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>QGeoServiceProvider::NoRoutingFeatures</code></td><td class="topAlign"><code>0</code></td><td class="topAlign">No routing features are supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OnlineRoutingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;0 )</code></td><td class="topAlign">Online routing is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::OfflineRoutingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;1 )</code></td><td class="topAlign">Offline routing is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::LocalizedRoutingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;2 )</code></td><td class="topAlign">Supports returning routes with localized addresses and instructions.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::RouteUpdatesFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;3 )</code></td><td class="topAlign">Updating an existing route based on the current position is supported.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::AlternativeRoutesFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;4 )</code></td><td class="topAlign">Supports returning alternative routes.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::ExcludeAreasRoutingFeature</code></td><td class="topAlign"><code>( 1&lt;&lt;5 )</code></td><td class="topAlign">Supports specifying a areas which the returned route must not cross.</td></tr>
<tr><td class="topAlign"><code>QGeoServiceProvider::AnyRoutingFeatures</code></td><td class="topAlign"><code>~( 0 )</code></td><td class="topAlign">Matches a geo service provider that provides any routing features.</td></tr>
</table></div>
<p>The RoutingFeatures type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;RoutingFeature&gt;. It stores an OR combination of RoutingFeature values.</p>
<!-- @@@RoutingFeature -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoServiceProvider[overload1]$$$QGeoServiceProviderconstQString&constQVariantMap&bool -->
<h3 class="fn" id="QGeoServiceProvider"><a name="QGeoServiceProvider"></a>QGeoServiceProvider::<span class="name">QGeoServiceProvider</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> providerName</i>, const <span class="type"><a href="../qtcore/qvariant.html#QVariantMap-typedef">QVariantMap</a></span> &amp;<i> parameters</i> = QVariantMap(), <span class="type">bool</span><i> allowExperimental</i> = false)</h3>
<p>Constructs a <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> whose backend has the name <i>providerName</i>, using the provided <i>parameters</i>.</p>
<p>If multiple plugins have the same <i>providerName</i>, the plugin with the highest reported providerVersion() will be used.</p>
<p>If <i>allowExperimental</i> is true then plugins marked as experimental may be used. By default experimental plugins are not considered.</p>
<p>If no plugin matching <i>providerName</i> was able to be loaded then <a href="qgeoserviceprovider.html#error">error</a>() and <a href="qgeoserviceprovider.html#errorString">errorString</a>() will provide details about why this is the case.</p>
<p><b>Note: </b>Before the list of <i>parameters</i> is passed on to the to-be-loaded provider plugin, the list is filtered to avoid the sharing of plugin specific parameters with unrelated provider plugins. Plugin specific parameter keys must be prefixed with the provider name (e.g&#x2e; <code>here.app_id</code>).</p><!-- @@@QGeoServiceProvider -->
<!-- $$$~QGeoServiceProvider[overload1]$$$~QGeoServiceProvider -->
<h3 class="fn" id="dtor.QGeoServiceProvider"><a name="dtor.QGeoServiceProvider"></a>QGeoServiceProvider::<span class="name">~QGeoServiceProvider</span>()</h3>
<p>Destroys the service provider object.</p>
<!-- @@@~QGeoServiceProvider -->
<!-- $$$availableServiceProviders[overload1]$$$availableServiceProviders -->
<h3 class="fn" id="availableServiceProviders"><a name="availableServiceProviders"></a><code>[static] </code><span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> QGeoServiceProvider::<span class="name">availableServiceProviders</span>()</h3>
<p>Returns a list of names of the available service providers, for use with the <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> constructors.</p>
<!-- @@@availableServiceProviders -->
<!-- $$$error[overload1]$$$error -->
<h3 class="fn" id="error"><a name="error"></a><span class="type"><a href="qgeoserviceprovider.html#Error-enum">Error</a></span> QGeoServiceProvider::<span class="name">error</span>() const</h3>
<p>Returns an error code describing the error which occurred during the last operation that was performed by this class.</p>
<!-- @@@error -->
<!-- $$$errorString[overload1]$$$errorString -->
<h3 class="fn" id="errorString"><a name="errorString"></a><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QGeoServiceProvider::<span class="name">errorString</span>() const</h3>
<p>Returns a string describing the error which occurred during the last operation that was performed by this class.</p>
<!-- @@@errorString -->
<!-- $$$geocodingFeatures[overload1]$$$geocodingFeatures -->
<h3 class="fn" id="geocodingFeatures"><a name="geocodingFeatures"></a><span class="type"><a href="qgeoserviceprovider.html#GeocodingFeature-enum">GeocodingFeatures</a></span> QGeoServiceProvider::<span class="name">geocodingFeatures</span>() const</h3>
<p>Returns the geocoding features supported by the geo service provider.</p>
<!-- @@@geocodingFeatures -->
<!-- $$$geocodingManager[overload1]$$$geocodingManager -->
<h3 class="fn" id="geocodingManager"><a name="geocodingManager"></a><span class="type"><a href="qgeocodingmanager.html">QGeoCodingManager</a></span> * QGeoServiceProvider::<span class="name">geocodingManager</span>() const</h3>
<p>Returns the <a href="qgeocodingmanager.html">QGeoCodingManager</a> made available by the service provider.</p>
<p>This function will return 0 if the service provider does not provide any geocoding services.</p>
<p>This function will attempt to construct a <a href="qgeocodingmanager.html">QGeoCodingManager</a> instance when it is called for the first time. If the attempt is successful the <a href="qgeocodingmanager.html">QGeoCodingManager</a> will be cached, otherwise each call of this function will attempt to construct a <a href="qgeocodingmanager.html">QGeoCodingManager</a> instance until the construction is successful.</p>
<p>The <a href="qgeocodingmanager.html">QGeoCodingManager</a> is owned by this <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> and should not be deleted separately. Users should assume that deleting the <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> renders the pointer returned by this method invalid.</p>
<p>After this function has been called, <a href="qgeoserviceprovider.html#error">error</a>() and <a href="qgeoserviceprovider.html#errorString">errorString</a>() will report any errors which occurred during the construction of the <a href="qgeocodingmanager.html">QGeoCodingManager</a>.</p>
<!-- @@@geocodingManager -->
<!-- $$$mappingFeatures[overload1]$$$mappingFeatures -->
<h3 class="fn" id="mappingFeatures"><a name="mappingFeatures"></a><span class="type"><a href="qgeoserviceprovider.html#MappingFeature-enum">MappingFeatures</a></span> QGeoServiceProvider::<span class="name">mappingFeatures</span>() const</h3>
<p>Returns the mapping features supported by the geo service provider.</p>
<!-- @@@mappingFeatures -->
<!-- $$$placeManager[overload1]$$$placeManager -->
<h3 class="fn" id="placeManager"><a name="placeManager"></a><span class="type"><a href="qplacemanager.html">QPlaceManager</a></span> * QGeoServiceProvider::<span class="name">placeManager</span>() const</h3>
<p>Returns the <a href="qplacemanager.html">QPlaceManager</a> made available by the service provider.</p>
<p>This function will attempt to construct a <a href="qplacemanager.html">QPlaceManager</a> instance when it is called for the first time. If the attempt is successful the <a href="qplacemanager.html">QPlaceManager</a> will be cached, otherwise each call of this function will attempt to construct a <a href="qplace.html">QPlace</a> instance until the construction is successful.</p>
<p>The QGeoPlaceManager is owned by this <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> and should not be deleted separately. Users should assume that deleting the <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> renders the pointer returned by this method invalid.</p>
<p>After this function has been called, <a href="qgeoserviceprovider.html#error">error</a>() and <a href="qgeoserviceprovider.html#errorString">errorString</a>() will report any errors which occurred during the construction of the <a href="qplacemanager.html">QPlaceManager</a>.</p>
<!-- @@@placeManager -->
<!-- $$$placesFeatures[overload1]$$$placesFeatures -->
<h3 class="fn" id="placesFeatures"><a name="placesFeatures"></a><span class="type"><a href="qgeoserviceprovider.html#PlacesFeature-enum">PlacesFeatures</a></span> QGeoServiceProvider::<span class="name">placesFeatures</span>() const</h3>
<p>Returns the places features supported by the geo service provider.</p>
<!-- @@@placesFeatures -->
<!-- $$$routingFeatures[overload1]$$$routingFeatures -->
<h3 class="fn" id="routingFeatures"><a name="routingFeatures"></a><span class="type"><a href="qgeoserviceprovider.html#RoutingFeature-enum">RoutingFeatures</a></span> QGeoServiceProvider::<span class="name">routingFeatures</span>() const</h3>
<p>Returns the routing features supported by the geo service provider.</p>
<!-- @@@routingFeatures -->
<!-- $$$routingManager[overload1]$$$routingManager -->
<h3 class="fn" id="routingManager"><a name="routingManager"></a><span class="type"><a href="qgeoroutingmanager.html">QGeoRoutingManager</a></span> * QGeoServiceProvider::<span class="name">routingManager</span>() const</h3>
<p>Returns the <a href="qgeoroutingmanager.html">QGeoRoutingManager</a> made available by the service provider.</p>
<p>This function will return 0 if the service provider does not provide any geographic routing services.</p>
<p>This function will attempt to construct a <a href="qgeoroutingmanager.html">QGeoRoutingManager</a> instance when it is called for the first time. If the attempt is successful the <a href="qgeoroutingmanager.html">QGeoRoutingManager</a> will be cached, otherwise each call of this function will attempt to construct a <a href="qgeoroutingmanager.html">QGeoRoutingManager</a> instance until the construction is successful.</p>
<p>The <a href="qgeoroutingmanager.html">QGeoRoutingManager</a> is owned by this <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> and should not be deleted separately. Users should assume that deleting the <a href="qgeoserviceprovider.html">QGeoServiceProvider</a> renders the pointer returned by this method invalid.</p>
<p>After this function has been called, <a href="qgeoserviceprovider.html#error">error</a>() and <a href="qgeoserviceprovider.html#errorString">errorString</a>() will report any errors which occurred during the construction of the <a href="qgeoroutingmanager.html">QGeoRoutingManager</a>.</p>
<!-- @@@routingManager -->
<!-- $$$setAllowExperimental[overload1]$$$setAllowExperimentalbool -->
<h3 class="fn" id="setAllowExperimental"><a name="setAllowExperimental"></a><span class="type">void</span> QGeoServiceProvider::<span class="name">setAllowExperimental</span>(<span class="type">bool</span><i> allow</i>)</h3>
<p>Sets whether experimental plugins are considered when locating the correct plugin library for this service provider to <i>allow</i>.</p>
<p><b>Important:</b> this will destroy any existing managers held by this service provider instance. You should be sure not to attempt to use any pointers that you have previously retrieved after calling this method.</p>
<!-- @@@setAllowExperimental -->
<!-- $$$setLocale[overload1]$$$setLocaleconstQLocale& -->
<h3 class="fn" id="setLocale"><a name="setLocale"></a><span class="type">void</span> QGeoServiceProvider::<span class="name">setLocale</span>(const <span class="type"><a href="../qtcore/qlocale.html">QLocale</a></span> &amp;<i> locale</i>)</h3>
<p>Sets the locale used by this service provider to <i>locale</i>. If the relevant features (see <a href="qgeoserviceprovider.html#MappingFeature-enum">LocalizedMappingFeature</a> etc), this will change the languages, units and other locale-specific attributes of the provider's data.</p>
<!-- @@@setLocale -->
<!-- $$$setParameters[overload1]$$$setParametersconstQVariantMap& -->
<h3 class="fn" id="setParameters"><a name="setParameters"></a><span class="type">void</span> QGeoServiceProvider::<span class="name">setParameters</span>(const <span class="type"><a href="../qtcore/qvariant.html#QVariantMap-typedef">QVariantMap</a></span> &amp;<i> parameters</i>)</h3>
<p>Sets the parameters used to construct individual manager classes for this service provider to <i>parameters</i>.</p>
<p>Before the list of <i>parameters</i> is passed on to the to-be-loaded service provider, the list is filtered to avoid the sharing of provider specific parameters with unrelated service providers. Provider specific parameter keys must be prefixed with the provider name (e.g&#x2e; <code>here.app_id</code>).</p>
<p><b>Important:</b> this will destroy any existing managers held by this service provider instance. You should be sure not to attempt to use any pointers that you have previously retrieved after calling this method.</p>
<!-- @@@setParameters -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2015 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>