From 34fceb4a1ba8c9cffbcc02caf40961a65efa3db7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 16 Aug 2014 09:32:23 -0600 Subject: 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 --- qt-ui/mainwindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-ui/mainwindow.h') 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 -- cgit v1.2.3-70-g09d2