summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-08-30 20:17:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-08-30 20:17:20 -0700
commitdb17edda65d6e4040bd0e7f613f814d21eedeb86 (patch)
treeb9345051ae404fba82419e2858b1b210175b2731 /qt-ui/downloadfromdivecomputer.h
parent9bc7d8f514d40da94285be980e19d6f16f421067 (diff)
parentab649e21ba07c9f572d61350b9217609f44f7f04 (diff)
downloadsubsurface-db17edda65d6e4040bd0e7f613f814d21eedeb86.tar.gz
Merge branch 'bugfixes' of github.com:danilocesar/subsurface
Fixed one conflict in qt-ui/diveplanner.cpp - please check I got this right. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index 444c03e81..26216c1e0 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -24,7 +24,7 @@ private:
class InterfaceThread : public QThread{
Q_OBJECT
public:
- InterfaceThread(QObject *parent, device_data_t *data) ;
+ InterfaceThread(QObject *parent, device_data_t *data);
virtual void run();
signals:
@@ -39,13 +39,19 @@ class DownloadFromDCWidget : public QDialog{
public:
explicit DownloadFromDCWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
static DownloadFromDCWidget *instance();
+ void reject();
+
public slots:
void on_ok_clicked();
void on_cancel_clicked();
void runDialog();
void stoppedDownloading();
void on_vendor_currentIndexChanged(const QString& vendor);
+
private:
+ void markChildrenAsDisabled();
+ void markChildrenAsEnabled();
+
Ui::DownloadFromDiveComputer *ui;
InterfaceThread *thread;
bool downloading;
@@ -58,6 +64,7 @@ private:
QStringListModel *vendorModel;
QStringListModel *productModel;
void fill_computer_list();
+
public:
bool preferDownloaded();
};