summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2016-02-02 10:43:11 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2016-02-04 18:46:36 +0000
commita2b6581e5a865ec1a3a7006b668e36c64d2f7ef5 (patch)
treeea10cc7fe401e46da1992eb5915985b50132b443
parent574433e01b2f747ee5585f97c77b4ad1783213f3 (diff)
downloadqtlocation-a2b6581e5a865ec1a3a7006b668e36c64d2f7ef5.tar.gz
Update the QML API difference since Qt 5.4
The recent QML changes were not added to the API change documentation. Change-Id: I8c9dc5656941fa9d266059733b0a6b6cafb636ba Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com> Reviewed-by: Harald Meyer <dev@meh.at> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r--src/location/doc/src/qtlocation-changes.qdoc28
1 files changed, 22 insertions, 6 deletions
diff --git a/src/location/doc/src/qtlocation-changes.qdoc b/src/location/doc/src/qtlocation-changes.qdoc
index 1c79c582..1330412d 100644
--- a/src/location/doc/src/qtlocation-changes.qdoc
+++ b/src/location/doc/src/qtlocation-changes.qdoc
@@ -30,6 +30,12 @@
\title Qt Location QML API changes since 5.4
\brief Information about the Qt Location QML API changes since 5.4
+This page lists the QtLocation QML API changes since the first Qt Location Technology Preview
+in Qt 5.4. Since Qt 5.6 this API is considered to be final and subsequent releases will
+not break the given API anymore.
+
+\note The public C++ API remained binary compatible since Qt 5.4.
+
\b{\l{QtLocation::Map}{Map} Component}
\list
\li removed wheelAngleChanged() signal
@@ -40,17 +46,27 @@
\li added \l[QML]{QtLocation::Map::}{fromCoordinate}() method
\li replaced cameraStopped() method with \l[QML]{QtLocation::Map::}{prefetchData} method
\li replaced fitViewportToGeoShape() method with \l[QML]{QtLocation::Map::}{visibleRegion} property
-
+ \li added \l[QML]{QtLocation::Map::}{color} property
+ \li added \l[QML]{QtLocation::Map::}{clearData} method
\endlist
\b{\l{QtLocation::MapGestureArea}{MapGestureArea} Component}
\list
- \li added missing panActiveChanged() signal to \l[QML]{QtLocation::MapGestureArea::}{panActive} property
\li removed movementStopped() signal
- \li replaced isPanActive, isPinchActive with panActive, pinchActive
- \li replaced activeGestures with acceptedGestures
- \li replaced ZoomGesture with PinchGesture
- \li removed properties panEnabled pinchEnable, please use acceptedGestures instead
+ \li replaced isPanActive and isPinchActive properties with \l[QML]{QtLocation::MapGestureArea::}{panActive}
+ and \l[QML]{QtLocation::MapGestureArea::}{pinchActive} properties
+ \li replaced activeGestures with \l[QML]{QtLocation::MapGestureArea::}{acceptedGestures}
+ \li replaced MapGestureArea.ZoomGesture with \l[QML]{QtLocation::MapGestureArea::acceptedGestures}{MapGestureArea.PinchGesture}
+ \li removed properties panEnabled and pinchEnabled, please use \l[QML]{QtLocation::MapGestureArea::}{acceptedGestures} instead
+\endlist
+
+\b{\l{QtLocation::MapPolyline}{MapPolyline} Component}
+\list
+ \li added \l[QML]{QtLocation::MapPolyline::}{containsCoordinate} method
+ \li added \l[QML]{QtLocation::MapPolyline::}{coordinateAt} method
+ \li added \l[QML]{QtLocation::MapPolyline::}{insertCoordinate} method
+ \li added \l[QML]{QtLocation::MapPolyline::}{replaceCoordinate} method
+ \li added \l[QML]{QtLocation::MapPolyline::}{removeCoordinate} method
\endlist
\b Geoservice's plugin parameters