aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmapwidgethelper.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-17 22:43:10 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commitffb92111e5145d77f0d9b5be479a7a9283223407 (patch)
treeb37537d7a0d48c19fb8b2d5255c76dedff07fec3 /mobile-widgets/qmlmapwidgethelper.h
parentf44645b6fe3de4d117fe85d1f2ae7a01ac34b252 (diff)
downloadsubsurface-ffb92111e5145d77f0d9b5be479a7a9283223407.tar.gz
mapwidgethelper: add the reloadMapLocations() method
reloadMapLocations() is the method which is called when the list of markers (model) should be cleared and re-populated with new MapLocation objects. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qmlmapwidgethelper.h')
-rw-r--r--mobile-widgets/qmlmapwidgethelper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmapwidgethelper.h b/mobile-widgets/qmlmapwidgethelper.h
index d0f450ed6..bd575c624 100644
--- a/mobile-widgets/qmlmapwidgethelper.h
+++ b/mobile-widgets/qmlmapwidgethelper.h
@@ -17,6 +17,7 @@ public:
explicit MapWidgetHelper(QObject *parent = NULL);
void centerOnDiveSite(struct dive_site *);
+ void reloadMapLocations();
private:
QObject *m_map;