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
qgeoroutingmanagerengineosm.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 QGEOROUTINGMANAGERENGINEOSM_H
5#define QGEOROUTINGMANAGERENGINEOSM_H
6
7#include <QtLocation/QGeoServiceProvider>
8#include <QtLocation/QGeoRoutingManagerEngine>
9#include <QtLocation/private/qgeorouteparser_p.h>
10
12
14
16{
18
19public:
22 QString *errorString);
24
26 const QGeoRouteParser *routeParser() const;
27
28private Q_SLOTS:
29 void replyFinished();
30 void replyError(QGeoRouteReply::Error errorCode, const QString &errorString);
31
32private:
33 QNetworkAccessManager *m_networkManager;
34 QGeoRouteParser *m_routeParser;
35 QByteArray m_userAgent;
36 QString m_urlPrefix;
37};
38
40
41#endif // QGEOROUTINGMANAGERENGINEOSM_H
42
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtLocation
Error
Describes an error which prevented the completion of the operation.
\inmodule QtLocation
const QGeoRouteParser * routeParser() const
QGeoRouteReply * calculateRoute(const QGeoRouteRequest &request) override
QGeoRoutingManagerEngineOsm(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString)
Error
Describes an error related to the loading and setup of a service provider plugin.
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
#define Q_OBJECT
#define Q_SLOTS
QNetworkRequest request(url)