diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-05-11 10:38:50 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-11 10:40:20 -0700 |
commit | ebaa7d1fd08fec3371e6448532564ebef6df4f29 (patch) | |
tree | 3f01cda94eef46d059491a02818dcf90c39e9d0c /qt-ui/maintab.h | |
parent | 698b2b133fb43cfa2c28f7639662f3d787627c30 (diff) | |
download | subsurface-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.h | 2 |
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; |