summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-17 08:26:09 -0600
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-17 11:58:11 -0600
commit29f50c6aeeb31dfad7510d240e27905a9f62670d (patch)
treefb3315e456ad5470eb209cc1c24043636bd4bd0e /qt-ui/maintab.h
parent822eb7558dd7ab4c3dbb86b63be547cdbc2ebb47 (diff)
downloadsubsurface-29f50c6aeeb31dfad7510d240e27905a9f62670d.tar.gz
Cut'n'paste for dive data: implement paste side
This should correctly set all the values and puts us in edit mode. Testing so far looks good for both single dive and multiple dives selected (i.e., you can paste into multiple dives). 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 f3aec5458..93bb1c949 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -49,6 +49,8 @@ public:
bool isEditing();
void updateCoordinatesText(qreal lat, qreal lon);
void nextInputField(QKeyEvent *event);
+ void showAndTriggerEditSelective(struct dive_components what);
+
signals:
void addDiveFinished();