diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-12-24 16:26:00 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-24 16:26:00 -0800 |
commit | d42cc5a40c419fc3350a19eaf9e1154bc0433ca3 (patch) | |
tree | 135be41fefa4f41a6394e52f87a9470103a1831f /qt-ui/downloadfromdivecomputer.h | |
parent | 4de739b935f7795e78333863d92f070e52b2f385 (diff) | |
download | subsurface-d42cc5a40c419fc3350a19eaf9e1154bc0433ca3.tar.gz |
Enable libdivecomputer log or dump from the UI
Pick filenames for these functions as they are selected.
Use the windows-safe fopen function.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h index 725dc787f..cb09a9f6d 100644 --- a/qt-ui/downloadfromdivecomputer.h +++ b/qt-ui/downloadfromdivecomputer.h @@ -44,6 +44,10 @@ public slots: void onDownloadThreadFinished(); void updateProgressBar(); void runDialog(); + void checkLogFile(int state); + void checkDumpFile(int state); + void pickDumpFile(); + void pickLogFile(); private: void markChildrenAsDisabled(); @@ -63,7 +67,8 @@ private: QStringListModel *productModel; void fill_computer_list(); void fill_device_list(); - + QString logFile; + QString dumpFile; QTimer *timer; public: |