This file is indexed.

/usr/share/qt5/doc/qtlocation/qgeoserviceprovider.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
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
<?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" />
<!-- qgeoserviceprovider.cpp -->
  <title>QGeoServiceProvider 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>QGeoServiceProvider</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="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoServiceProvider Class</h1>
<!-- $$$QGeoServiceProvider-brief -->
<p>The QGeoServiceProvider class aggregates access to services which provide geographical information. <a href="#details">More...</a></p>
<!-- @@@QGeoServiceProvider -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include &lt;QGeoServiceProvider&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></table><ul>
<li><a href="qgeoserviceprovider-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="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>
<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="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>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<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>
<a name="details"></a>
<!-- $$$QGeoServiceProvider-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoServiceProvider 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 QGeoServiceProvider 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 QGeoServiceProvider 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;osm&quot; -&gt; <a href="location-plugin-osm.html">OpenStreetMap</a></li>
<li>&quot;nokia&quot; -&gt; <a href="location-plugin-nokia.html">Nokia Services</a></li>
</ul>
</div>
<!-- @@@QGeoServiceProvider -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$Error$$$NoError$$$NotSupportedError$$$UnknownParameterError$$$MissingRequiredParameterError$$$ConnectionError -->
<h3 class="fn"><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>
<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>QGeoServiceProvider::NoError</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No error has occurred.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::NotSupportedError</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The plugin does not support this functionality.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::UnknownParameterError</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">The plugin did not recognize one of the parameters it was given.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::MissingRequiredParameterError</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">The plugin did not find one of the parameters it was expecting.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::ConnectionError</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">The plugin could not connect to its backend service or database.</td></tr>
</table>
<!-- @@@Error -->
<!-- $$$GeocodingFeature$$$NoGeocodingFeatures$$$OnlineGeocodingFeature$$$OfflineGeocodingFeature$$$ReverseGeocodingFeature$$$LocalizedGeocodingFeature$$$AnyGeocodingFeatures -->
<h3 class="flags"><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>
<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>QGeoServiceProvider::NoGeocodingFeatures</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No geocoding features are supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OnlineGeocodingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;0 )</tt></td><td class="topAlign">Online geocoding is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OfflineGeocodingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;1 )</tt></td><td class="topAlign">Offline geocoding is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::ReverseGeocodingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;2 )</tt></td><td class="topAlign">Reverse geocoding is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::LocalizedGeocodingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;3 )</tt></td><td class="topAlign">Supports returning geocoding results with localized addresses.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::AnyGeocodingFeatures</tt></td><td class="topAlign"><tt>~( 0 )</tt></td><td class="topAlign">Matches a geo service provider that provides any geocoding features.</td></tr>
</table>
<p>The GeocodingFeatures type is a typedef for <a href="">QFlags</a>&lt;GeocodingFeature&gt;. It stores an OR combination of GeocodingFeature values.</p>
<!-- @@@GeocodingFeature -->
<!-- $$$MappingFeature$$$NoMappingFeatures$$$OnlineMappingFeature$$$OfflineMappingFeature$$$LocalizedMappingFeature$$$AnyMappingFeatures -->
<h3 class="flags"><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>
<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>QGeoServiceProvider::NoMappingFeatures</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No mapping features are supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OnlineMappingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;0 )</tt></td><td class="topAlign">Online mapping is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OfflineMappingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;1 )</tt></td><td class="topAlign">Offline mapping is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::LocalizedMappingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;2 )</tt></td><td class="topAlign">Supports returning localized map data.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::AnyMappingFeatures</tt></td><td class="topAlign"><tt>~( 0 )</tt></td><td class="topAlign">Matches a geo service provider that provides any mapping features.</td></tr>
</table>
<p>The MappingFeatures type is a typedef for <a href="">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"><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>
<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>QGeoServiceProvider::NoPlacesFeatures</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No places features are supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OnlinePlacesFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;0 )</tt></td><td class="topAlign">Online places is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OfflinePlacesFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;1 )</tt></td><td class="topAlign">Offline places is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::SavePlaceFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;2 )</tt></td><td class="topAlign">Saving places is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::RemovePlaceFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;3 )</tt></td><td class="topAlign">Removing or deleting places is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::SaveCategoryFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;4 )</tt></td><td class="topAlign">Saving categories is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::RemoveCategoryFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;5 )</tt></td><td class="topAlign">Removing or deleting categories is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::PlaceRecommendationsFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;6 )</tt></td><td class="topAlign">Searching for recommended places similar to another place is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::SearchSuggestionsFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;7 )</tt></td><td class="topAlign">Search suggestions is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::LocalizedPlacesFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;8 )</tt></td><td class="topAlign">Supports returning localized place data.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::NotificationsFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;9 )</tt></td><td class="topAlign">Notifications of place and category changes is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::PlaceMatchingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;10 )</tt></td><td class="topAlign">Supports matching places from two different geo service providers.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::AnyPlacesFeatures</tt></td><td class="topAlign"><tt>~( 0 )</tt></td><td class="topAlign">Matches a geo service provider that provides any places features.</td></tr>
</table>
<p>The PlacesFeatures type is a typedef for <a href="">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"><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>
<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>QGeoServiceProvider::NoRoutingFeatures</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">No routing features are supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OnlineRoutingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;0 )</tt></td><td class="topAlign">Online routing is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::OfflineRoutingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;1 )</tt></td><td class="topAlign">Offline routing is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::LocalizedRoutingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;2 )</tt></td><td class="topAlign">Supports returning routes with localized addresses and instructions.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::RouteUpdatesFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;3 )</tt></td><td class="topAlign">Updating an existing route based on the current position is supported.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::AlternativeRoutesFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;4 )</tt></td><td class="topAlign">Supports returning alternative routes.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::ExcludeAreasRoutingFeature</tt></td><td class="topAlign"><tt>( 1&lt;&lt;5 )</tt></td><td class="topAlign">Supports specifying a areas which the returned route must not cross.</td></tr>
<tr><td class="topAlign"><tt>QGeoServiceProvider::AnyRoutingFeatures</tt></td><td class="topAlign"><tt>~( 0 )</tt></td><td class="topAlign">Matches a geo service provider that provides any routing features.</td></tr>
</table>
<p>The RoutingFeatures type is a typedef for <a href="">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"><a name="QGeoServiceProvider"></a>QGeoServiceProvider::<span class="name">QGeoServiceProvider</span>(const <span class="type">QString</span> &amp;<i> providerName</i>, const <span class="type">QVariantMap</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>
<!-- @@@QGeoServiceProvider -->
<!-- $$$~QGeoServiceProvider[overload1]$$$~QGeoServiceProvider -->
<h3 class="fn"><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"><a name="availableServiceProviders"></a><span class="type">QStringList</span> QGeoServiceProvider::<span class="name">availableServiceProviders</span>()<tt> [static]</tt></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"><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"><a name="errorString"></a><span class="type">QString</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"><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"><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"><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"><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"><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"><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"><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"><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"><a name="setLocale"></a><span class="type">void</span> QGeoServiceProvider::<span class="name">setLocale</span>(const <span class="type">QLocale</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"><a name="setParameters"></a><span class="type">void</span> QGeoServiceProvider::<span class="name">setParameters</span>(const <span class="type">QVariantMap</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><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> 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>