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
qgeotilefetcher_nokia.h
Go to the documentation of this file.
1// Copyright (C) 2015 The Qt Company 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 QGEOTILEFETCHER_NOKIA_H
5#define QGEOTILEFETCHER_NOKIA_H
6
8
9#include <QtLocation/private/qgeotilefetcher_p.h>
10
12
14class QGeoTileSpec;
17class QNetworkReply;
19class QGeoUriProvider;
20
22{
24
25public:
26 QGeoTileFetcherNokia(const QVariantMap &parameters, QGeoNetworkAccessManager *networkManager,
29
30 QGeoTiledMapReply *getTileImage(const QGeoTileSpec &spec) override;
31
32 QString apiKey() const;
33
34public Q_SLOTS:
35 void copyrightsFetched();
37 void versionFetched();
38 void fetchVersionData();
39
40private:
41 Q_DISABLE_COPY(QGeoTileFetcherNokia)
42
43 QString getRequestString(const QGeoTileSpec &spec, int ppi=72) const;
44
45 QString getLanguageString() const;
46
47 QPointer<QGeoTiledMappingManagerEngineNokia> m_engineNokia;
48 QGeoNetworkAccessManager *m_networkManager;
49 int m_tileSize;
50 int m_ppi;
51 QNetworkReply *m_copyrightsReply;
52 QNetworkReply *m_versionReply;
53
54 QString m_apiKey;
55 QGeoUriProvider *m_baseUriProvider;
56 QGeoUriProvider *m_aerialUriProvider;
57};
58
60
61#endif
QGeoTiledMapReply * getTileImage(const QGeoTileSpec &spec) override
QGeoTileFetcherNokia(const QVariantMap &parameters, QGeoNetworkAccessManager *networkManager, QGeoTiledMappingManagerEngineNokia *engine, const QSize &tileSize, int ppi)
\inmodule QtLocation
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
\inmodule QtCore
Definition qsize.h:25
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
static QT_BEGIN_NAMESPACE const int tileSize
Definition qmemrotate.cpp:9
#define Q_OBJECT
#define Q_SLOTS
QJSEngine engine
[0]