summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeomap_p.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-10-08 14:42:22 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-11-02 10:06:01 +0200
commit4cb1cbe5e0b8fab5a8145a00d6d79205148d8971 (patch)
treebf417bf03f8e2127436560f39d4bf3f8543c9fef /src/location/maps/qgeomap_p.h
parentc032c91ee9776568d5593a3619ce0ac355e3135e (diff)
downloadqtlocation-4cb1cbe5e0b8fab5a8145a00d6d79205148d8971.tar.gz
Remove parameterization functionality
The abstraction of plugin-specific parameters makes little sense if we don't want to provide a cross-backend API. So remove this for now. If in the future we want to attach meta-data or backend-specific properties to values or element types, then we might be able to use existing QVariantMap type properties (like QGeoRouteRequest's extraParameters, via QDeclarativeGeoRouteQuery::extraParameters), or register backend specific QML types that applications can opt in to use. This requires a bit of research and experimenting based on specific use cases. If we can't come up with anything better, then bringing back a, perhaps simplified, version of the infrastructure removed here will still be an option. Change-Id: If590a35f2ffb80b0c918d866e88913a9caf75d2b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/maps/qgeomap_p.h')
-rw-r--r--src/location/maps/qgeomap_p.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/location/maps/qgeomap_p.h b/src/location/maps/qgeomap_p.h
index e51c4900..0a7b76b1 100644
--- a/src/location/maps/qgeomap_p.h
+++ b/src/location/maps/qgeomap_p.h
@@ -68,7 +68,6 @@ class QGeoShape;
class QGeoRectangle;
class QSGNode;
class QQuickWindow;
-class QGeoMapParameter;
class QDeclarativeGeoMapItemBase;
class QDeclarativeGeoMap;
@@ -133,10 +132,6 @@ public:
virtual void prefetchData();
virtual void clearData();
- void addParameter(QGeoMapParameter *param);
- void removeParameter(QGeoMapParameter *param);
- void clearParameters();
-
ItemTypes supportedMapItemTypes() const;
void addMapItem(QDeclarativeGeoMapItemBase *item);