diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-08-10 12:50:10 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-08-14 11:16:53 +0000 |
commit | 40e9867254d2241fdac1ea76d416ad54e71d04ac (patch) | |
tree | 1e377b8ab2eabc87490e300c34983c5c0dc6461c /src/location/declarativemaps/qdeclarativecirclemapitem_p.h | |
parent | 07be65e9d9a883aab4e1fda367cf591b7cb97631 (diff) | |
download | qtlocation-40e9867254d2241fdac1ea76d416ad54e71d04ac.tar.gz |
Make QDeclarativeGeoMapItemBase::geoShape R/W
This patch adds a setter for the geoShape property, overridden
in the subclasses.
Change-Id: I5fc4d412efee5e95c5650943ea5bf9b72dc40155
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativecirclemapitem_p.h')
-rw-r--r-- | src/location/declarativemaps/qdeclarativecirclemapitem_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativecirclemapitem_p.h b/src/location/declarativemaps/qdeclarativecirclemapitem_p.h index 2e8c56f8..a5b92881 100644 --- a/src/location/declarativemaps/qdeclarativecirclemapitem_p.h +++ b/src/location/declarativemaps/qdeclarativecirclemapitem_p.h @@ -94,6 +94,7 @@ public: bool contains(const QPointF &point) const override; const QGeoShape &geoShape() const override; + void setGeoShape(const QGeoShape &shape) override; QGeoMap::ItemType itemType() const override; static bool crossEarthPole(const QGeoCoordinate ¢er, qreal distance); |