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
geocodereply_esri.h
Go to the documentation of this file.
1// Copyright (C) 2013-2018 Esri <contracts@esri.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 GEOCODEREPLYESRI_H
5#define GEOCODEREPLYESRI_H
6
7#include <QNetworkReply>
8#include <QGeoCodeReply>
9
11
12class QGeoLocation;
13
15{
18
19public:
25
26public:
29
30 inline OperationType operationType() const;
31
32private Q_SLOTS:
33 void networkReplyFinished();
34 void networkReplyError(QNetworkReply::NetworkError error);
35
36 QGeoLocation parseAddress(const QJsonObject &object);
37 QGeoLocation parseCandidate(const QJsonObject &candidate);
38
39private:
40 OperationType m_operationType;
41};
42
44{
45 return m_operationType;
46}
47
49
50#endif // GEOCODEREPLYESRI_H
GeoCodeReplyEsri(QNetworkReply *reply, OperationType operationType, QObject *parent=nullptr)
OperationType operationType() const
\inmodule QtLocation
Error error() const
Returns the error state of this reply.
\inmodule QtPositioning
\inmodule QtCore\reentrant
Definition qjsonobject.h:20
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
NetworkError
Indicates all possible error conditions found during the processing of the request.
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
Combined button and popup list for selecting options.
#define Q_OBJECT
#define Q_SLOTS
#define Q_MOC_INCLUDE(...)
QNetworkReply * reply