summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-16 09:32:23 -0600
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-16 10:07:06 -0600
commit34fceb4a1ba8c9cffbcc02caf40961a65efa3db7 (patch)
tree5caf92855c3e42d43473447006a542f8206c42d2 /qt-ui/mainwindow.h
parentdd49e3a9a92e3d1a1534a870e9e3b588845fb364 (diff)
downloadsubsurface-34fceb4a1ba8c9cffbcc02caf40961a65efa3db7.tar.gz
Cut'n'paste for dive data: implement copy side
Admittedly not very useful without working paste, but it's progress. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 9081bf457..40d82afb9 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -143,6 +143,8 @@ slots:
void on_profTogglePicture_clicked(bool triggered);
void on_profTankbar_clicked(bool triggered);
void on_actionExport_triggered();
+ void on_copy_triggered();
+ void on_paste_triggered();
protected:
void closeEvent(QCloseEvent *);
@@ -185,6 +187,8 @@ private:
bool plannerStateClean();
void setupForAddAndPlan(const char *model);
QDialog *survey;
+ struct dive copyPasteDive;
+ struct dive_components what;
};
#endif // MAINWINDOW_H