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
qgeomappingmanager_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
4#ifndef QGEOMAPPINGMANAGER_H
5#define QGEOMAPPINGMANAGER_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 <QObject>
19#include <QtLocation/private/qlocationglobal_p.h>
20
21QT_BEGIN_NAMESPACE
22
23class QGeoMap;
24class QLocale;
25class QGeoRectangle;
26class QGeoCoordinate;
27class QGeoMapType;
29class QGeoMapRequestOptions;
30class QGeoMappingManagerEngine;
31class QGeoCameraCapabilities;
32
33
34class Q_LOCATION_EXPORT QGeoMappingManager : public QObject
35{
36 Q_OBJECT
37
38public:
39 ~QGeoMappingManager();
40
41 QString managerName() const;
42 int managerVersion() const;
43
44 QGeoMap *createMap(QObject *parent);
45
46 QList<QGeoMapType> supportedMapTypes() const;
47
48 bool isInitialized() const;
49
50 void setLocale(const QLocale &locale);
51 QLocale locale() const;
52
53Q_SIGNALS:
54 void initialized();
55 void supportedMapTypesChanged();
56
57protected:
58 QGeoMappingManager(QGeoMappingManagerEngine *engine, QObject *parent = nullptr);
59
60private:
61 QGeoMappingManagerPrivate *d_ptr;
62 Q_DISABLE_COPY(QGeoMappingManager)
63
64 friend class QGeoServiceProvider;
65 friend class QGeoServiceProviderPrivate;
66};
67
68QT_END_NAMESPACE
69
70#endif
\inmodule QtLocation
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
Definition qdir.cpp:2568
size_t qHash(const QHashedString &string)