Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgeoroutereplymapbox.h
Go to the documentation of this file.
1// Copyright (C) 2016 Vlad Seryakov <vseryakov@gmail.com>
2// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QGEOROUTEREPLYMAPBOX_H
6#define QGEOROUTEREPLYMAPBOX_H
7
8#include <QtNetwork/QNetworkReply>
9#include <QtLocation/QGeoRouteReply>
10
11QT_BEGIN_NAMESPACE
12
13class QGeoRouteReplyMapbox : public QGeoRouteReply
14{
15 Q_OBJECT
16
17public:
18 QGeoRouteReplyMapbox(QNetworkReply *reply, const QGeoRouteRequest &request, QObject *parent = nullptr);
19 ~QGeoRouteReplyMapbox();
20
21private Q_SLOTS:
22 void networkReplyFinished();
23 void networkReplyError(QNetworkReply::NetworkError error);
24};
25
26QT_END_NAMESPACE
27
28#endif // QGEOROUTEREPLYMAPBOX_H
const QGeoRouteParser * routeParser() const
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.