aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index fdc730753..27e64c96f 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -38,11 +38,11 @@ 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 on_vendor_currentIndexChanged(const QString& vendor);
private:
Ui::DownloadFromDiveComputer *ui;
@@ -57,6 +57,8 @@ private:
QStringListModel *vendorModel;
QStringListModel *productModel;
void fill_computer_list();
+public:
+ bool preferDownloaded();
};
#endif