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
qgeocodereplymapbox.h
Go to the documentation of this file.
1// Copyright (C) 2017 Mapbox, Inc.
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 QGEOCODEREPLYMAPBOX_H
5#define QGEOCODEREPLYMAPBOX_H
6
7#include <QtNetwork/QNetworkReply>
8#include <QtLocation/QGeoCodeReply>
9
10QT_BEGIN_NAMESPACE
11
12class QGeoCodeReplyMapbox : public QGeoCodeReply
13{
14 Q_OBJECT
15
16public:
17 explicit QGeoCodeReplyMapbox(QNetworkReply *reply, QObject *parent = nullptr);
18 ~QGeoCodeReplyMapbox();
19
20private Q_SLOTS:
21 void onNetworkReplyFinished();
22 void onNetworkReplyError(QNetworkReply::NetworkError error);
23};
24
25QT_END_NAMESPACE
26
27#endif // QGEOCODEREPLYMAPBOX_H
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
QObject * parent
Definition qobject.h:73
connect(manager, &QNetworkAccessManager::finished, this, &MyClass::replyFinished)