summaryrefslogtreecommitdiff
path: root/src/positioning/qgeocircle.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2016-12-01 12:50:30 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2016-12-07 11:48:10 +0000
commit7656821275de8b932c75063adfcdf8deb968db84 (patch)
tree993adbf164d02349b88d3308f7a8df629921562c /src/positioning/qgeocircle.h
parent9e71adaf31fe50e9966a6b09619968ae2b1176b6 (diff)
downloadqtlocation-7656821275de8b932c75063adfcdf8deb968db84.tar.gz
Deprecate QGeoShape::extendShape
As the collection of QGeoShapes grows, this method loses its scope, as it would have undefined behavior for certain shapes (polygon, or polyline, for example). Therefore the base class virtual method is now deprecated, with the documentation pointing to the specific implementations instead. Change-Id: I9717df092b8686b5413556858e9dfe7eaa92dd80 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning/qgeocircle.h')
-rw-r--r--src/positioning/qgeocircle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/positioning/qgeocircle.h b/src/positioning/qgeocircle.h
index e8632fe9..dc10ccf9 100644
--- a/src/positioning/qgeocircle.h
+++ b/src/positioning/qgeocircle.h
@@ -77,6 +77,7 @@ public:
Q_INVOKABLE void translate(double degreesLatitude, double degreesLongitude);
Q_INVOKABLE QGeoCircle translated(double degreesLatitude, double degreesLongitude) const;
+ Q_INVOKABLE void extendCircle(const QGeoCoordinate &coordinate);
Q_INVOKABLE QString toString() const;