summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-11 10:38:50 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-11 10:40:20 -0700
commitebaa7d1fd08fec3371e6448532564ebef6df4f29 (patch)
tree3f01cda94eef46d059491a02818dcf90c39e9d0c /qt-ui/maintab.h
parent698b2b133fb43cfa2c28f7639662f3d787627c30 (diff)
downloadsubsurface-ebaa7d1fd08fec3371e6448532564ebef6df4f29.tar.gz
Multi dive edit: treat buddy and divemaster as tag lists
So just like tags do "differential editing". Figure out what (or in this case, who) was added / removed from the displayed dive and do the same for all other selected dives. This does seem a bit over top for divemaster, but this is more consistent and therefore should make more sense to the user - assuming we ever have one who runs into this. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 8869b068e..5cff5714f 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -112,6 +112,8 @@ private:
bool copyPaste;
void resetPallete();
void saveTags();
+ void saveTaggedStrings();
+ void diffTaggedStrings(QString currentString, QString displayedString, QStringList &addedList, QStringList &removedList);
void markChangedWidget(QWidget *w);
dive_trip_t *currentTrip;
dive_trip_t displayedTrip;