Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
11#include <QtCore/qpointer.h>
12
14
15class QGeoTiledMapReply;
16class QGeoTileSpec;
17class QGeoTiledMappingManagerEngine;
19class QNetworkReply;
21class QGeoUriProvider;
22
24{
26
27public:
31
32 QGeoTiledMapReply *getTileImage(const QGeoTileSpec &spec) override;
33
34 QString apiKey() const;
35
36public Q_SLOTS:
37 void copyrightsFetched();
39 void versionFetched();
40 void fetchVersionData();
41
42private:
44
45 QString getRequestString(const QGeoTileSpec &spec, int ppi=72) const;
46
47 QString getLanguageString() const;
48
49 QPointer<QGeoTiledMappingManagerEngineNokia> m_engineNokia;
50 QGeoNetworkAccessManager *m_networkManager;
51 int m_tileSize;
52 int m_ppi;
53 QNetworkReply *m_copyrightsReply;
54 QNetworkReply *m_versionReply;
55
56 QString m_apiKey;
57 QGeoUriProvider *m_baseUriProvider;
58 QGeoUriProvider *m_aerialUriProvider;
59};
60
61QT_END_NAMESPACE
62
63#endif
QGeoTiledMapReply * getTileImage(const QGeoTileSpec &spec) override
void parseNewVersionInfo(const QByteArray &versionData)
QString evaluateCopyrightsText(const QGeoMapType &mapType, qreal zoomLevel, const QSet< QGeoTileSpec > &tiles)