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
qgeotilefetcherosm.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 QGEOTILEFETCHEROSM_H
5#define QGEOTILEFETCHEROSM_H
6
8#include <QtLocation/private/qgeotilefetcher_p.h>
9#include <QList>
10
12
16
18{
20 Q_DECLARE_PRIVATE(QGeoTileFetcherOsm)
21
22 friend class QGeoMapReplyOsm;
24public:
27
28 void setUserAgent(const QByteArray &userAgent);
29
32
33protected:
34 bool initialized() const override;
35
36protected Q_SLOTS:
39 void restartTimer();
40
42 QGeoTiledMapReply *getTileImage(const QGeoTileSpec &spec) override;
43 void readyUpdated();
44
45 QByteArray m_userAgent;
46 QList<QGeoTileProviderOsm *> m_providers;
48 bool m_ready;
49};
50
52
53#endif // QGEOTILEFETCHEROSM_H
54
\inmodule QtCore
Definition qbytearray.h:57
bool initialized() const override
void providerDataUpdated(const QGeoTileProviderOsm *provider)
void onProviderResolutionError(const QGeoTileProviderOsm *provider)
QGeoTiledMapReply * getTileImage(const QGeoTileSpec &spec) override
void setUserAgent(const QByteArray &userAgent)
void onProviderResolutionFinished(const QGeoTileProviderOsm *provider)
\inmodule QtLocation
Definition qlist.h:75
The QNetworkAccessManager class allows the application to send network requests and receive replies.
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_SIGNALS