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
qgeotilerequestmanager_p.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// Qt-Security score:significant reason:default
4#ifndef QGEOTILEREQUESTMANAGER_P_H
5#define QGEOTILEREQUESTMANAGER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/QSharedPointer>
19#include <QtLocation/private/qlocationglobal_p.h>
20
22
23class QGeoTiledMap;
24class QGeoTiledMappingManagerEngine;
25class QGeoTileSpec;
26struct QGeoTileTexture;
27
29
30class Q_LOCATION_EXPORT QGeoTileRequestManager
31{
32public:
33 explicit QGeoTileRequestManager(QGeoTiledMap *map, QGeoTiledMappingManagerEngine *engine);
34 ~QGeoTileRequestManager();
35
36 QMap<QGeoTileSpec, QSharedPointer<QGeoTileTexture> > requestTiles(const QSet<QGeoTileSpec> &tiles);
37
38 void tileError(const QGeoTileSpec &tile, const QString &errorString);
39 void tileFetched(const QGeoTileSpec &spec);
40 QSharedPointer<QGeoTileTexture> tileTexture(const QGeoTileSpec &spec);
41
42private:
43 std::unique_ptr<QGeoTileRequestManagerPrivate> d_ptr;
44 Q_DISABLE_COPY(QGeoTileRequestManager)
45};
46
47QT_END_NAMESPACE
48
49#endif // QGEOTILEREQUESTMANAGER_P_H
\inmodule QtCore\reentrant
Definition qpoint.h:232
Combined button and popup list for selecting options.
#define PREFETCH_FRUSTUM_SCALE