Qt 6.x
The Qt SDK
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 token() const;
33 QString applicationId() const;
34
35public Q_SLOTS:
36 void copyrightsFetched();
38 void versionFetched();
39 void fetchVersionData();
40
41private:
42 Q_DISABLE_COPY(QGeoTileFetcherNokia)
43
44 QString getRequestString(const QGeoTileSpec &spec, int ppi=72) const;
45
46 QString getLanguageString() const;
47
49 QGeoNetworkAccessManager *m_networkManager;
50 int m_tileSize;
51 int m_ppi;
52 QString m_token;
53 QNetworkReply *m_copyrightsReply;
54 QNetworkReply *m_versionReply;
55
56 QString m_applicationId;
57 QGeoUriProvider *m_baseUriProvider;
58 QGeoUriProvider *m_aerialUriProvider;
59};
60
62
63#endif
QGeoTiledMapReply * getTileImage(const QGeoTileSpec &spec) override
\inmodule QtLocation
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
\inmodule QtCore
Definition qpointer.h:18
\inmodule QtCore
Definition qsize.h:25
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
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]