diff options
author | Alex Wilson <alex.wilson@nokia.com> | 2011-12-28 11:42:17 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-28 04:23:28 +0100 |
commit | c37c3d544fb3c0d7ece178d51134a2f9c80b5e6f (patch) | |
tree | 93c57eacd7cf09f674f40b3dbd4d2045077a5902 /src/imports/location/qdeclarativepolygonmapitem_p.h | |
parent | b0ab7df1d268e3f4637d076b19f09ce094bb0aa0 (diff) | |
download | qtlocation-c37c3d544fb3c0d7ece178d51134a2f9c80b5e6f.tar.gz |
Handling changes to underlying coordinates in map poly(line|gon)
Causes the poly(line|gon) to be updated whenever any of its
component coordinates change. This means we can do animations
of these map objects and various other Cool Things (tm).
Change-Id: I4e0690c3b07f2254f406e63506448e7582d96fbb
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/imports/location/qdeclarativepolygonmapitem_p.h')
-rw-r--r-- | src/imports/location/qdeclarativepolygonmapitem_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/location/qdeclarativepolygonmapitem_p.h b/src/imports/location/qdeclarativepolygonmapitem_p.h index 259445f9..91de848d 100644 --- a/src/imports/location/qdeclarativepolygonmapitem_p.h +++ b/src/imports/location/qdeclarativepolygonmapitem_p.h @@ -90,6 +90,7 @@ protected Q_SLOTS: private Q_SLOTS: // map size changed void handleCameraDataChanged(const CameraData& cameraData); + void updateAfterCoordinateChanged(); private: static void path_append(QDeclarativeListProperty<QDeclarativeCoordinate> *prop, QDeclarativeCoordinate *coordinate); |