summaryrefslogtreecommitdiff
path: root/src/imports/locationlabs/plugins.qmltypes
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/locationlabs/plugins.qmltypes')
-rw-r--r--src/imports/locationlabs/plugins.qmltypes86
1 files changed, 77 insertions, 9 deletions
diff --git a/src/imports/locationlabs/plugins.qmltypes b/src/imports/locationlabs/plugins.qmltypes
index e985e844..24abe0a2 100644
--- a/src/imports/locationlabs/plugins.qmltypes
+++ b/src/imports/locationlabs/plugins.qmltypes
@@ -7,7 +7,72 @@ import QtQuick.tooling 1.2
// 'qmlplugindump -nonrelocatable Qt.labs.location 1.0'
Module {
- dependencies: ["QtQuick 2.11"]
+ dependencies: ["QtQuick 2.0"]
+ Component {
+ name: "LocationLabsSingleton"
+ prototype: "QObject"
+ exports: ["Qt.labs.location/QtLocationLabs 1.0"]
+ isCreatable: false
+ isSingleton: true
+ exportMetaObjectRevisions: [0]
+ Method {
+ name: "mapObjectsAt"
+ type: "QList<QObject*>"
+ Parameter { name: "coordinate"; type: "QGeoCoordinate" }
+ Parameter { name: "map"; type: "QDeclarativeGeoMap"; isPointer: true }
+ }
+ }
+ Component {
+ name: "QAbstractNavigator"
+ prototype: "QObject"
+ Signal {
+ name: "activeChanged"
+ Parameter { name: "active"; type: "bool" }
+ }
+ Signal {
+ name: "waypointReached"
+ Parameter { name: "pos"; type: "const QDeclarativeGeoWaypoint"; isPointer: true }
+ }
+ Signal { name: "destinationReached" }
+ Signal { name: "currentRouteChanged" }
+ Signal { name: "currentRouteLegChanged" }
+ Signal { name: "currentSegmentChanged" }
+ Signal { name: "nextManeuverIconChanged" }
+ Signal { name: "progressInformationChanged" }
+ Method { name: "start"; type: "bool" }
+ Method { name: "stop"; type: "bool" }
+ Method {
+ name: "setTrackPosition"
+ Parameter { name: "trackPosition"; type: "bool" }
+ }
+ }
+ Component {
+ name: "QDeclarativeNavigationBasicDirections"
+ prototype: "QObject"
+ Property { name: "nextManeuverIcon"; type: "QVariant"; isReadonly: true }
+ Property { name: "distanceToNextManeuver"; type: "double"; isReadonly: true }
+ Property { name: "remainingTravelDistance"; type: "double"; isReadonly: true }
+ Property { name: "remainingTravelDistanceToNextWaypoint"; type: "double"; isReadonly: true }
+ Property { name: "traveledDistance"; type: "double"; isReadonly: true }
+ Property { name: "timeToNextManeuver"; type: "int"; isReadonly: true }
+ Property { name: "remainingTravelTime"; type: "int"; isReadonly: true }
+ Property { name: "remainingTravelTimeToNextWaypoint"; type: "int"; isReadonly: true }
+ Property { name: "traveledTime"; type: "int"; isReadonly: true }
+ Property { name: "currentRoute"; type: "QDeclarativeGeoRoute"; isReadonly: true; isPointer: true }
+ Property {
+ name: "currentRouteLeg"
+ type: "QDeclarativeGeoRouteLeg"
+ isReadonly: true
+ isPointer: true
+ }
+ Property { name: "currentSegment"; type: "int"; isReadonly: true }
+ Signal { name: "progressInformationChanged" }
+ Signal {
+ name: "waypointReached"
+ Parameter { name: "pos"; type: "const QDeclarativeGeoWaypoint"; isPointer: true }
+ }
+ Signal { name: "destinationReached" }
+ }
Component {
name: "QDeclarativeNavigator"
defaultProperty: "quickChildren"
@@ -21,8 +86,15 @@ Module {
Property { name: "active"; type: "bool" }
Property { name: "navigatorReady"; type: "bool"; isReadonly: true }
Property { name: "trackPositionSource"; type: "bool" }
- Property { name: "currentRoute"; type: "QDeclarativeGeoRoute"; isReadonly: true; isPointer: true }
- Property { name: "currentSegment"; type: "int"; isReadonly: true }
+ Property {
+ name: "directions"
+ type: "QDeclarativeNavigationBasicDirections"
+ isReadonly: true
+ isPointer: true
+ }
+ Property { name: "error"; type: "NavigationError"; isReadonly: true }
+ Property { name: "errorString"; type: "string"; isReadonly: true }
+ Property { name: "engineHandle"; type: "QAbstractNavigator"; isReadonly: true; isPointer: true }
Signal {
name: "navigatorReadyChanged"
Parameter { name: "ready"; type: "bool" }
@@ -35,11 +107,6 @@ Module {
name: "activeChanged"
Parameter { name: "active"; type: "bool" }
}
- Signal {
- name: "waypointReached"
- Parameter { name: "pos"; type: "const QDeclarativeGeoWaypoint"; isPointer: true }
- }
- Signal { name: "destinationReached" }
}
Component {
name: "QGeoMapObject"
@@ -61,6 +128,7 @@ Module {
}
Property { name: "visible"; type: "bool" }
Property { name: "type"; type: "Type"; isReadonly: true }
+ Property { name: "geoShape"; type: "QGeoShape" }
Signal { name: "selected" }
Signal { name: "completed" }
}
@@ -88,7 +156,7 @@ Module {
exportMetaObjectRevisions: [0]
Property { name: "coordinate"; type: "QGeoCoordinate" }
Property { name: "content"; type: "QVariant" }
- Property { name: "size"; type: "QSizeF" }
+ Property { name: "iconSize"; type: "QSizeF" }
Signal {
name: "contentChanged"
Parameter { name: "content"; type: "QVariant" }