16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
40
41
42
43
44
45
46
47QGeoCodingManager::QGeoCodingManager(QGeoCodingManagerEngine *engine, QObject *parent)
49 d_ptr(
new QGeoCodingManagerPrivate())
51 d_ptr->engine.reset(engine);
53 d_ptr->engine->setParent(
this);
55 connect(d_ptr->engine.get(), &QGeoCodingManagerEngine::finished,
56 this, &QGeoCodingManager::finished);
58 connect(d_ptr->engine.get(), &QGeoCodingManagerEngine::errorOccurred,
59 this, &QGeoCodingManager::errorOccurred);
61 qFatal(
"The geocoding manager engine that was set for this geocoding manager was NULL.");
66
67
68QGeoCodingManager::~QGeoCodingManager()
74
75
76
77
78
79
80QString QGeoCodingManager::managerName()
const
85 return d_ptr->engine->managerName();
89
90
91
92
93
94
95int QGeoCodingManager::managerVersion()
const
100 return d_ptr->engine->managerVersion();
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
134QGeoCodeReply *QGeoCodingManager::geocode(
const QGeoAddress &address,
const QGeoShape &bounds)
136 return d_ptr->engine->geocode(address, bounds);
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
176QGeoCodeReply *QGeoCodingManager::reverseGeocode(
const QGeoCoordinate &coordinate,
const QGeoShape &bounds)
178 return d_ptr->engine->reverseGeocode(coordinate, bounds);
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
210QGeoCodeReply *QGeoCodingManager::geocode(
const QString &address,
213 const QGeoShape &bounds)
215 QGeoCodeReply *reply = d_ptr->engine->geocode(address,
223
224
225
226
227
228
229
230void QGeoCodingManager::setLocale(
const QLocale &locale)
232 d_ptr->engine->setLocale(locale);
236
237
238
239QLocale QGeoCodingManager::locale()
const
241 return d_ptr->engine->locale();
245
246
247
248
249
250
251
252
253
254
255
256
257
260
261
262
263
264
265
266
267
268
269
270
271
272
275