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
qgeomapreplymapbox.h
Go to the documentation of this file.
1// Copyright (C) 2014 Canonical Ltd.
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 QGEOMAPREPLYMAPBOX_H
5#define QGEOMAPREPLYMAPBOX_H
6
7#include <QtNetwork/QNetworkReply>
8#include <QtLocation/private/qgeotiledmapreply_p.h>
9#include <QtCore/QPointer>
10
12
14{
16
17public:
18 explicit QGeoMapReplyMapbox(QNetworkReply *reply, const QGeoTileSpec &spec, const QString &format, QObject *parent = nullptr);
20
21private Q_SLOTS:
22 void networkReplyFinished();
23 void networkReplyError(QNetworkReply::NetworkError error);
24
25private:
26 QString m_format;
27};
28
30
31#endif // QGEOMAPREPLYMAPBOX_H
QGeoMapReplyMapbox(QNetworkReply *reply, const QGeoTileSpec &spec, const QString &format, QObject *parent=nullptr)
\inmodule QtLocation
Error error() const
Returns the error state of this reply.
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
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum format
#define Q_OBJECT
#define Q_SLOTS
QNetworkReply * reply