summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeoserviceproviderfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeoserviceproviderfactory.h')
-rw-r--r--src/location/maps/qgeoserviceproviderfactory.h29
1 files changed, 3 insertions, 26 deletions
diff --git a/src/location/maps/qgeoserviceproviderfactory.h b/src/location/maps/qgeoserviceproviderfactory.h
index 187476dc..f804cbe6 100644
--- a/src/location/maps/qgeoserviceproviderfactory.h
+++ b/src/location/maps/qgeoserviceproviderfactory.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2015 The Qt Company Ltd.
+** Copyright (C) 2022 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtLocation module of the Qt Toolkit.
@@ -66,38 +66,15 @@ public:
virtual QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap &parameters,
QGeoServiceProvider::Error *error,
QString *errorString) const;
-};
-
-Q_DECLARE_INTERFACE(QGeoServiceProviderFactory,
- "org.qt-project.qt.geoservice.serviceproviderfactory/6.0")
-
-class Q_LOCATION_EXPORT QGeoServiceProviderFactoryV2 : public QGeoServiceProviderFactory
-{
-public:
- virtual ~QGeoServiceProviderFactoryV2() {}
virtual QNavigationManagerEngine *createNavigationManagerEngine(const QVariantMap &parameters,
QGeoServiceProvider::Error *error,
QString *errorString) const;
-};
-
-// Although not actually used for constructing a specialized loader, this is required for
-// casting a QObject * into QGeoServiceProviderFactoryV2 *
-Q_DECLARE_INTERFACE(QGeoServiceProviderFactoryV2,
- "org.qt-project.qt.geoservice.serviceproviderfactoryV2/5.0")
-
-class Q_LOCATION_EXPORT QGeoServiceProviderFactoryV3 : public QGeoServiceProviderFactoryV2
-{
-public:
- virtual ~QGeoServiceProviderFactoryV3() {}
-
virtual void setQmlEngine(QQmlEngine * engine);
};
-// Although not actually used for constructing a specialized loader, this is required for
-// casting a QObject * into QGeoServiceProviderFactoryV3 *
-Q_DECLARE_INTERFACE(QGeoServiceProviderFactoryV3,
- "org.qt-project.qt.geoservice.serviceproviderfactoryV3/5.0")
+Q_DECLARE_INTERFACE(QGeoServiceProviderFactory,
+ "org.qt-project.qt.geoservice.serviceproviderfactory/6.0")
QT_END_NAMESPACE