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
qgeoserviceproviderpluginosm.h
Go to the documentation of this file.
1// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
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 QGEOSERVICEPROVIDER_OSM_H
6#define QGEOSERVICEPROVIDER_OSM_H
7
8#include <QtCore/QObject>
9#include <QtLocation/QGeoServiceProviderFactory>
10
11QT_BEGIN_NAMESPACE
12
13class QGeoServiceProviderFactoryOsm: public QObject, public QGeoServiceProviderFactory
14{
15 Q_OBJECT
16 Q_INTERFACES(QGeoServiceProviderFactory)
17 Q_PLUGIN_METADATA(IID "org.qt-project.qt.geoservice.serviceproviderfactory/6.0"
18 FILE "osm_plugin.json")
19
20public:
21 QGeoCodingManagerEngine *createGeocodingManagerEngine(const QVariantMap &parameters,
22 QGeoServiceProvider::Error *error,
23 QString *errorString) const override;
24 QGeoMappingManagerEngine *createMappingManagerEngine(const QVariantMap &parameters,
25 QGeoServiceProvider::Error *error,
26 QString *errorString) const override;
27 QGeoRoutingManagerEngine *createRoutingManagerEngine(const QVariantMap &parameters,
28 QGeoServiceProvider::Error *error,
29 QString *errorString) const override;
30 QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap &parameters,
31 QGeoServiceProvider::Error *error,
32 QString *errorString) const override;
33};
34
35QT_END_NAMESPACE
36
37#endif
Combined button and popup list for selecting options.