From a2b6581e5a865ec1a3a7006b668e36c64d2f7ef5 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Tue, 2 Feb 2016 10:43:11 +0100 Subject: 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 Reviewed-by: Harald Meyer Reviewed-by: Alex Blasche --- src/location/doc/src/qtlocation-changes.qdoc | 28 ++++++++++++++++++++++------ 1 file 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 -- cgit v1.2.3