diff options
author | BogDan Vatra <bogdan@kdab.com> | 2018-02-12 09:30:44 +0200 |
---|---|---|
committer | BogDan Vatra <bogdan@kdab.com> | 2018-02-12 10:15:23 +0000 |
commit | b75dbd9558c1922ce33d1f62d75c2c5dfa173edb (patch) | |
tree | 1099257a226895cd655617543a009aa257b0cd0d | |
parent | 35bedd23ff11ebbf0e29d174735c7d8ecc296da5 (diff) | |
download | qtlocation-b75dbd9558c1922ce33d1f62d75c2c5dfa173edb.tar.gz |
Update location qmltypes
Change-Id: I376c28b3bcc1116c87481020a0ee2aaa0476f950
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r-- | src/imports/location/plugins.qmltypes | 48 |
1 files changed, 45 insertions, 3 deletions
diff --git a/src/imports/location/plugins.qmltypes b/src/imports/location/plugins.qmltypes index db6c09f3..ed977c4a 100644 --- a/src/imports/location/plugins.qmltypes +++ b/src/imports/location/plugins.qmltypes @@ -136,6 +136,7 @@ Module { Property { name: "distanceToNextInstruction"; type: "double"; isReadonly: true } Property { name: "waypoint"; type: "QGeoCoordinate"; isReadonly: true } Property { name: "waypointValid"; type: "bool"; isReadonly: true } + Property { name: "extendedAttributes"; type: "QObject"; isReadonly: true; isPointer: true } } Component { name: "QDeclarativeGeoMap" @@ -235,6 +236,7 @@ Module { name: "mapReadyChanged" Parameter { name: "ready"; type: "bool" } } + Signal { name: "mapObjectsChanged" } Method { name: "setBearing" Parameter { name: "bearing"; type: "double" } @@ -486,6 +488,7 @@ Module { } Component { name: "QDeclarativeGeoRouteQuery" + defaultProperty: "quickChildren" prototype: "QObject" exports: ["QtLocation/RouteQuery 5.0"] exportMetaObjectRevisions: [0] @@ -585,17 +588,20 @@ Module { Property { name: "routeOptimizations"; type: "RouteOptimizations" } Property { name: "segmentDetail"; type: "SegmentDetail" } Property { name: "maneuverDetail"; type: "ManeuverDetail" } - Property { name: "waypoints"; type: "QJSValue" } + Property { name: "waypoints"; type: "QVariantList" } Property { name: "excludedAreas"; type: "QJSValue" } Property { name: "featureTypes"; type: "QList<int>"; isReadonly: true } + Property { name: "quickChildren"; type: "QObject"; isList: true; isReadonly: true } Signal { name: "queryDetailsChanged" } + Signal { name: "extraParametersChanged" } + Method { name: "waypointObjects"; type: "QVariantList" } Method { name: "addWaypoint" - Parameter { name: "waypoint"; type: "QGeoCoordinate" } + Parameter { name: "w"; type: "QVariant" } } Method { name: "removeWaypoint" - Parameter { name: "waypoint"; type: "QGeoCoordinate" } + Parameter { name: "waypoint"; type: "QVariant" } } Method { name: "clearWaypoints" } Method { @@ -739,6 +745,15 @@ Module { "AnyPlacesFeatures": -1 } } + Enum { + name: "NavigationFeatures" + values: { + "NoNavigationFeatures": 0, + "OnlineNavigationFeature": 1, + "OfflineNavigationFeature": 2, + "AnyNavigationFeatures": -1 + } + } Property { name: "name"; type: "string" } Property { name: "availableServiceProviders"; type: "QStringList"; isReadonly: true } Property { @@ -793,6 +808,12 @@ Module { Parameter { name: "feature"; type: "PlacesFeatures" } } Method { name: "supportsPlaces"; type: "bool" } + Method { + name: "supportsNavigation" + type: "bool" + Parameter { name: "feature"; type: "NavigationFeature" } + } + Method { name: "supportsNavigation"; type: "bool" } } Component { name: "QDeclarativeGeoServiceProviderParameter" @@ -845,6 +866,22 @@ Module { } } Component { + name: "QDeclarativeGeoWaypoint" + defaultProperty: "quickChildren" + prototype: "QGeoCoordinateObject" + exports: ["QtLocation/Waypoint 5.11"] + exportMetaObjectRevisions: [0] + Property { name: "latitude"; type: "double" } + Property { name: "longitude"; type: "double" } + Property { name: "altitude"; type: "double" } + Property { name: "isValid"; type: "bool"; isReadonly: true } + Property { name: "bearing"; type: "double" } + Property { name: "quickChildren"; type: "QObject"; isList: true; isReadonly: true } + Signal { name: "completed" } + Signal { name: "waypointDetailsChanged" } + Signal { name: "extraParametersChanged" } + } + Component { name: "QDeclarativeGeocodeModel" prototype: "QAbstractListModel" exports: ["QtLocation/GeocodeModel 5.0"] @@ -1288,6 +1325,11 @@ Module { Method { name: "errorString"; type: "string" } } Component { + name: "QGeoCoordinateObject" + prototype: "QObject" + Property { name: "coordinate"; type: "QGeoCoordinate" } + } + Component { name: "QGeoMapParameter" prototype: "QObject" Property { name: "type"; type: "string" } |