summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-08-10 12:50:10 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-08-14 11:16:53 +0000
commit40e9867254d2241fdac1ea76d416ad54e71d04ac (patch)
tree1e377b8ab2eabc87490e300c34983c5c0dc6461c /src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
parent07be65e9d9a883aab4e1fda367cf591b7cb97631 (diff)
downloadqtlocation-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/qdeclarativerectanglemapitem_p.h')
-rw-r--r--src/location/declarativemaps/qdeclarativerectanglemapitem_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h b/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
index c475bf7f..e2ac2974 100644
--- a/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
+++ b/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
@@ -90,6 +90,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;
Q_SIGNALS: