Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qgeomappingmanagerengine_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
5
#
ifndef
QGEOMAPPINGMANAGERENGINE_H
6
#
define
QGEOMAPPINGMANAGERENGINE_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QObject
>
20
#
include
<
QList
>
21
#
include
<
QtLocation
/
private
/
qlocationglobal_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QLocale;
26
class
QString;
27
28
class
QGeoRectangle;
29
class
QGeoCoordinate;
30
class
QGeoCameraCapabilities;
31
class
QGeoMappingManagerPrivate
;
32
class
QGeoMapRequestOptions;
33
34
class
QGeoMappingManagerEnginePrivate
;
35
class
QGeoMap;
36
class
QGeoMapType;
37
38
class
Q_LOCATION_EXPORT
QGeoMappingManagerEngine
:
public
QObject
39
{
40
Q_OBJECT
41
42
public
:
43
explicit
QGeoMappingManagerEngine(QObject *parent =
nullptr
);
44
virtual
~QGeoMappingManagerEngine();
45
46
virtual
QGeoMap *createMap() = 0;
47
48
QVariantMap parameters()
const
;
49
50
QString managerName()
const
;
51
int
managerVersion()
const
;
52
53
QList<QGeoMapType> supportedMapTypes()
const
;
54
55
// the class is private, so this can be virtual here for now.
56
QGeoCameraCapabilities cameraCapabilities(
int
mapId = 0)
const
;
57
58
void
setLocale(
const
QLocale &locale);
59
QLocale locale()
const
;
60
61
bool
isInitialized()
const
;
62
63
Q_SIGNALS:
64
void
initialized();
65
void
supportedMapTypesChanged();
66
67
protected
:
68
void
setSupportedMapTypes(
const
QList<QGeoMapType> &supportedMapTypes);
69
void
setCameraCapabilities(
const
QGeoCameraCapabilities &capabilities);
70
71
void
engineInitialized();
72
73
private
:
74
QGeoMappingManagerEnginePrivate *d_ptr;
75
76
void
setManagerName(
const
QString &managerName);
77
void
setManagerVersion(
int
managerVersion);
78
79
Q_DECLARE_PRIVATE(QGeoMappingManagerEngine)
80
Q_DISABLE_COPY(QGeoMappingManagerEngine)
81
82
friend
class
QGeoServiceProvider;
83
friend
class
QGeoServiceProviderPrivate;
84
};
85
86
QT_END_NAMESPACE
87
88
#
endif
QGeoMapPrivate
Definition
qgeomap_p_p.h:41
QGeoMap
Definition
qgeomap_p.h:40
QGeoMappingManagerEnginePrivate
Definition
qgeomappingmanagerengine_p_p.h:31
QGeoMappingManagerEngine
\inmodule QtLocation
Definition
qgeomappingmanagerengine_p.h:39
QGeoMappingManagerPrivate
Definition
qgeomappingmanager_p_p.h:22
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
location
maps
qgeomappingmanagerengine_p.h
Generated on
for Qt by
1.18.0