summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-26 12:12:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-26 12:59:00 -0700
commit66fd93c9ccc958b080d902fb06fff0aa34ae8a36 (patch)
treee7157a5276b0dd2823f2da46f47cb0f857780498 /mobile-widgets/qmlmanager.h
parent241d378f1402b767d65873f93d4eec68730d2755 (diff)
downloadsubsurface-66fd93c9ccc958b080d902fb06fff0aa34ae8a36.tar.gz
mobile/dive-list: add ability to create trip
This adds a context menu entry for top level dives that allows the user to create a trip for that dive. Unfortunately this creates a new string to translate right before a release... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index b124ea7e6..cadbe4973 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -178,6 +178,7 @@ public slots:
QStringList endpressure, QStringList gasmix, QStringList usedCylinder, int rating, int visibility, QString state);
void updateTripDetails(QString tripIdString, QString tripLocation, QString tripNotes);
void removeDiveFromTrip(int id);
+ void addTripForDive(int id);
void addDiveToTrip(int id, int tripId);
void changesNeedSaving();
void openNoCloudRepo();