aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmapwidgethelper.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-08-07 02:58:19 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-07 00:51:21 -0700
commit93896e54dbd9ab5d82c72516ea1acaa8d63710e1 (patch)
tree5f91cbec3ae8f1f9dbc63fea197bb522f0042592 /mobile-widgets/qmlmapwidgethelper.h
parent5db24601689d5c3827a8b12c50c2cbfdf53f48da (diff)
downloadsubsurface-93896e54dbd9ab5d82c72516ea1acaa8d63710e1.tar.gz
mapwidgethelper: add the selectVisibleLocations() method
The new method selectVisibleLocations() contains a routine to find all visible MapLocation objects in the Map viewport and select the dives associated to said MapLocation objects. This method is to be invoked from the QML context menu. 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 6cba3dc91..830c8478f 100644
--- a/mobile-widgets/qmlmapwidgethelper.h
+++ b/mobile-widgets/qmlmapwidgethelper.h
@@ -24,6 +24,7 @@ public:
Q_INVOKABLE void copyToClipboardCoordinates(QGeoCoordinate coord, bool formatTraditional);
Q_INVOKABLE void calculateSmallCircleRadius(QGeoCoordinate coord);
Q_INVOKABLE void updateCurrentDiveSiteCoordinates(quint32 uuid, QGeoCoordinate coord);
+ Q_INVOKABLE void selectVisibleLocations();
bool editMode();
void setEditMode(bool editMode);