diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-08-16 10:02:13 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-02 14:30:40 +0200 |
commit | d35d28017d731dba9e2a4f2622d2cec97e724e55 (patch) | |
tree | fd1fbbaeb20c641ca868a424f3ee051c7c6c3a28 /src/imports/location/plugins.qmltypes | |
parent | ea5f625ab90406d7407bc961b90b3993230dd03a (diff) | |
download | qtlocation-d35d28017d731dba9e2a4f2622d2cec97e724e55.tar.gz |
Split QtLocation into QtPositioning and QtLocation
QtPositioning is not dependent on any gui component and mostly
covers everything around the retrieval of position information.
QtLocation covers place, map and navigation APIs.
Several documentation issues were fixed during the process.
Change-Id: I98e2a53065549a2fc43f93a75b4f65b5bc884c92
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/location/plugins.qmltypes')
-rw-r--r-- | src/imports/location/plugins.qmltypes | 165 |
1 files changed, 6 insertions, 159 deletions
diff --git a/src/imports/location/plugins.qmltypes b/src/imports/location/plugins.qmltypes index bb59436e..c4319665 100644 --- a/src/imports/location/plugins.qmltypes +++ b/src/imports/location/plugins.qmltypes @@ -7,75 +7,6 @@ import QtQuick.tooling 1.1 Module { Component { - name: "GeoShapeValueType" - prototype: "QQmlValueType" - exports: ["QtLocation/GeoShape 5.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "ShapeType" - values: { - "UnknownType": 0, - "RectangleType": 1, - "CircleType": 2 - } - } - Property { name: "type"; type: "ShapeType"; isReadonly: true } - Property { name: "isValid"; type: "bool"; isReadonly: true } - Property { name: "isEmpty"; type: "bool"; isReadonly: true } - Method { - name: "contains" - type: "bool" - Parameter { name: "coordinate"; type: "QGeoCoordinate" } - } - } - Component { - name: "LocationSingleton" - prototype: "QObject" - exports: ["QtLocation/QtLocation 5.0"] - exportMetaObjectRevisions: [0] - Method { name: "coordinate"; type: "QGeoCoordinate" } - Method { - name: "coordinate" - type: "QGeoCoordinate" - Parameter { name: "latitude"; type: "double" } - Parameter { name: "longitude"; type: "double" } - Parameter { name: "altitude"; type: "double" } - } - Method { - name: "coordinate" - type: "QGeoCoordinate" - Parameter { name: "latitude"; type: "double" } - Parameter { name: "longitude"; type: "double" } - } - Method { name: "shape"; type: "QGeoShape" } - Method { name: "rectangle"; type: "QGeoRectangle" } - Method { - name: "rectangle" - type: "QGeoRectangle" - Parameter { name: "center"; type: "QGeoCoordinate" } - Parameter { name: "width"; type: "double" } - Parameter { name: "height"; type: "double" } - } - Method { - name: "rectangle" - type: "QGeoRectangle" - Parameter { name: "topLeft"; type: "QGeoCoordinate" } - Parameter { name: "bottomRight"; type: "QGeoCoordinate" } - } - Method { name: "circle"; type: "QGeoCircle" } - Method { - name: "circle" - type: "QGeoCircle" - Parameter { name: "center"; type: "QGeoCoordinate" } - Parameter { name: "radius"; type: "double" } - } - Method { - name: "circle" - type: "QGeoCircle" - Parameter { name: "center"; type: "QGeoCoordinate" } - } - } - Component { name: "QDeclarativeCategory" prototype: "QObject" exports: ["QtLocation/Category 5.0"] @@ -157,33 +88,6 @@ Module { exportMetaObjectRevisions: [0] } Component { - name: "QDeclarativeGeoAddress" - prototype: "QObject" - exports: ["QtLocation/Address 5.0"] - exportMetaObjectRevisions: [0] - Property { name: "address"; type: "QGeoAddress" } - Property { name: "text"; type: "string" } - Property { name: "country"; type: "string" } - Property { name: "countryCode"; type: "string" } - Property { name: "state"; type: "string" } - Property { name: "county"; type: "string" } - Property { name: "city"; type: "string" } - Property { name: "district"; type: "string" } - Property { name: "street"; type: "string" } - Property { name: "postalCode"; type: "string" } - Property { name: "isTextGenerated"; type: "bool"; isReadonly: true } - } - Component { - name: "QDeclarativeGeoLocation" - prototype: "QObject" - exports: ["QtLocation/Location 5.0"] - exportMetaObjectRevisions: [0] - Property { name: "location"; type: "QGeoLocation" } - Property { name: "address"; type: "QDeclarativeGeoAddress"; isPointer: true } - Property { name: "coordinate"; type: "QGeoCoordinate" } - Property { name: "boundingBox"; type: "QGeoRectangle" } - } - Component { name: "QDeclarativeGeoManeuver" prototype: "QObject" exports: ["QtLocation/RouteManeuver 5.0"] @@ -1084,68 +988,6 @@ Module { } } Component { - name: "QDeclarativePosition" - prototype: "QObject" - exports: ["QtLocation/Position 5.0"] - exportMetaObjectRevisions: [0] - Property { name: "latitudeValid"; type: "bool"; isReadonly: true } - Property { name: "longitudeValid"; type: "bool"; isReadonly: true } - Property { name: "altitudeValid"; type: "bool"; isReadonly: true } - Property { name: "coordinate"; type: "QGeoCoordinate"; isReadonly: true } - Property { name: "timestamp"; type: "QDateTime"; isReadonly: true } - Property { name: "speed"; type: "double"; isReadonly: true } - Property { name: "speedValid"; type: "bool"; isReadonly: true } - Property { name: "horizontalAccuracy"; type: "double" } - Property { name: "verticalAccuracy"; type: "double" } - Property { name: "horizontalAccuracyValid"; type: "bool"; isReadonly: true } - Property { name: "verticalAccuracyValid"; type: "bool"; isReadonly: true } - } - Component { - name: "QDeclarativePositionSource" - prototype: "QObject" - exports: ["QtLocation/PositionSource 5.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "PositioningMethod" - values: { - "NoPositioningMethod": 0, - "SatellitePositioningMethod": 255, - "NonSatellitePositioningMethod": -256, - "AllPositioningMethods": -1 - } - } - Enum { - name: "PositioningMethods" - values: { - "NoPositioningMethod": 0, - "SatellitePositioningMethod": 255, - "NonSatellitePositioningMethod": -256, - "AllPositioningMethods": -1 - } - } - Enum { - name: "SourceError" - values: { - "AccessError": 0, - "ClosedError": 1, - "UnknownSourceError": -1 - } - } - Property { name: "position"; type: "QDeclarativePosition"; isReadonly: true; isPointer: true } - Property { name: "active"; type: "bool" } - Property { name: "valid"; type: "bool"; isReadonly: true } - Property { name: "nmeaSource"; type: "QUrl" } - Property { name: "updateInterval"; type: "int" } - Property { name: "supportedPositioningMethods"; type: "PositioningMethods"; isReadonly: true } - Property { name: "preferredPositioningMethods"; type: "PositioningMethods" } - Property { name: "sourceError"; type: "SourceError"; isReadonly: true } - Property { name: "name"; type: "string" } - Signal { name: "validityChanged" } - Method { name: "update" } - Method { name: "start" } - Method { name: "stop" } - } - Component { name: "QDeclarativeRatings" prototype: "QObject" exports: ["QtLocation/Ratings 5.0"] @@ -1238,7 +1080,8 @@ Module { name: "SearchResultType" values: { "UnknownSearchResult": 0, - "PlaceResult": 1 + "PlaceResult": 1, + "ProposedSearchResult": 2 } } Enum { @@ -1265,6 +1108,10 @@ Module { Parameter { name: "index"; type: "int" } Parameter { name: "roleName"; type: "string" } } + Method { + name: "updateWith" + Parameter { name: "proposedSearchIndex"; type: "int" } + } } Component { name: "QDeclarativeSearchSuggestionModel" |