diff options
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h index fdc730753..de80c4028 100644 --- a/qt-ui/downloadfromdivecomputer.h +++ b/qt-ui/downloadfromdivecomputer.h @@ -38,11 +38,12 @@ class DownloadFromDCWidget : public QDialog{ Q_OBJECT public: explicit DownloadFromDCWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); - + static DownloadFromDCWidget *instance(); public slots: void on_ok_clicked(); void on_cancel_clicked(); - + void runDialog(); + void stoppedDownloading(); void on_vendor_currentIndexChanged(const QString& vendor); private: Ui::DownloadFromDiveComputer *ui; @@ -57,6 +58,8 @@ private: QStringListModel *vendorModel; QStringListModel *productModel; void fill_computer_list(); +public: + bool preferDownloaded(); }; #endif |