Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeocodingmanagerengineosm.h
Go to the documentation of this file.
1// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOCODINGMANAGERENGINEOSM_H
5#define QGEOCODINGMANAGERENGINEOSM_H
6
7#include <QtLocation/QGeoServiceProvider>
8#include <QtLocation/QGeoCodingManagerEngine>
9#include <QtLocation/QGeoCodeReply>
10
12
14
16{
18
19public:
21 QString *errorString);
23
24 QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) override;
26 const QGeoShape &bounds) override;
28 const QGeoShape &bounds) override;
29
30private Q_SLOTS:
31 void replyFinished();
32 void replyError(QGeoCodeReply::Error errorCode, const QString &errorString);
33
34private:
35 QNetworkAccessManager *m_networkManager;
36 QByteArray m_userAgent;
37 QString m_urlPrefix;
38 bool m_debugQuery = false;
39 bool m_includeExtraData = false;
40};
41
43
44#endif // QGEOCODINGMANAGERENGINEOSM_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtPositioning
Definition qgeoaddress.h:18
\inmodule QtLocation
Error
Describes an error which prevented the completion of the operation.
QGeoCodeReply * reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) override
Begins the reverse geocoding of coordinate.
QGeoCodingManagerEngineOsm(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString)
QGeoCodeReply * geocode(const QGeoAddress &address, const QGeoShape &bounds) override
Begins the geocoding of address.
\inmodule QtPositioning
Error
Describes an error related to the loading and setup of a service provider plugin.
\inmodule QtPositioning
Definition qgeoshape.h:17
The QNetworkAccessManager class allows the application to send network requests and receive replies.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
GLenum GLuint GLintptr offset
GLint limit
GLuint GLuint64EXT address
#define Q_OBJECT
#define Q_SLOTS