Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgeomapreplyosm.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
4#ifndef QGEOMAPREPLYOSM_H
5#define QGEOMAPREPLYOSM_H
6
7#include <QtNetwork/QNetworkReply>
8#include <QtLocation/private/qgeotiledmapreply_p.h>
9
11
13{
15
16public:
17 QGeoMapReplyOsm(QNetworkReply *reply, const QGeoTileSpec &spec, const QString &imageFormat,
18 QObject *parent = nullptr);
20
21private Q_SLOTS:
22 void networkReplyFinished();
23 void networkReplyError(QNetworkReply::NetworkError error);
24};
25
27
28#endif // QGEOMAPREPLYOSM_H
\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:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
#define Q_OBJECT
#define Q_SLOTS
QNetworkReply * reply