Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeoserviceproviderfactory.h
Go to the documentation of this file.
1// Copyright (C) 2022 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 QGEOSERVICEPROVIDERFACTORY_H
5#define QGEOSERVICEPROVIDERFACTORY_H
6
7#include <QtLocation/QGeoServiceProvider>
8
9#include <QtCore/QtPlugin>
10#include <QtCore/QMap>
11#include <QtCore/QString>
12
14class QQmlEngine;
15
16class Q_LOCATION_EXPORT QGeoServiceProviderFactory
17{
18public:
20
21 virtual QGeoCodingManagerEngine *createGeocodingManagerEngine(const QVariantMap &parameters,
23 QString *errorString) const;
24 virtual QGeoMappingManagerEngine *createMappingManagerEngine(const QVariantMap &parameters,
26 QString *errorString) const;
27 virtual QGeoRoutingManagerEngine *createRoutingManagerEngine(const QVariantMap &parameters,
29 QString *errorString) const;
30 virtual QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap &parameters,
32 QString *errorString) const;
33
34 virtual void setQmlEngine(QQmlEngine * engine);
35};
36
38 "org.qt-project.qt.geoservice.serviceproviderfactory/6.0")
39
41
42#endif
virtual ~QGeoServiceProviderFactory()
Destroys this QGeoServiceProviderFactory instance.
Error
Describes an error related to the loading and setup of a service provider plugin.
\inmodule QtLocation
The QQmlEngine class provides an environment for instantiating QML components.
Definition qqmlengine.h:57
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
#define Q_DECLARE_INTERFACE(IFace, IId)
Definition qobject.h:460
QJSEngine engine
[0]