summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativerectanglemapitem_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/location/qdeclarativerectanglemapitem_p.h')
-rw-r--r--src/imports/location/qdeclarativerectanglemapitem_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativerectanglemapitem_p.h b/src/imports/location/qdeclarativerectanglemapitem_p.h
index 3c55b7ba..97e92fa4 100644
--- a/src/imports/location/qdeclarativerectanglemapitem_p.h
+++ b/src/imports/location/qdeclarativerectanglemapitem_p.h
@@ -86,6 +86,7 @@ public:
QDeclarativeMapLineProperties *border();
bool contains(const QPointF &point) const Q_DECL_OVERRIDE;
+ const QGeoShape &geoShape() const Q_DECL_OVERRIDE;
Q_SIGNALS:
void topLeftChanged(const QGeoCoordinate &topLeft);
@@ -101,8 +102,7 @@ protected Q_SLOTS:
virtual void afterViewportChanged(const QGeoMapViewportChangeEvent &event) Q_DECL_OVERRIDE;
private:
- QGeoCoordinate topLeft_;
- QGeoCoordinate bottomRight_;
+ QGeoRectangle rectangle_;
QDeclarativeMapLineProperties border_;
QColor color_;
bool dirtyMaterial_;