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
qgeocodereplyosm.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// Qt-Security score:significant reason:default
4
5#ifndef QGEOCODEREPLYOSM_H
6#define QGEOCODEREPLYOSM_H
7
8#include <QtNetwork/QNetworkReply>
9#include <QtLocation/QGeoCodeReply>
10#include <QtLocation/private/qgeocodereply_p.h>
11
12QT_BEGIN_NAMESPACE
13
14class QGeoCodeReplyOsm : public QGeoCodeReply
15{
16 Q_OBJECT
17
18public:
19 explicit QGeoCodeReplyOsm(QNetworkReply *reply, bool includeExtraData = false,
20 QObject *parent = nullptr);
21 ~QGeoCodeReplyOsm();
22
23private Q_SLOTS:
24 void networkReplyFinished();
25 void networkReplyError(QNetworkReply::NetworkError error);
26
27private:
28 bool m_includeExtraData = false;
29};
30
32
33#endif // QGEOCODEREPLYOSM_H
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
QObject * parent
Definition qobject.h:74
Combined button and popup list for selecting options.
static QGeoAddress parseAddressObject(const QJsonObject &object)
static void injectExtra(QGeoLocation &location, const QJsonObject &object)