summaryrefslogtreecommitdiffstats
path: root/configuredivecomputer.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-01-20 22:40:52 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-21 17:03:24 +1200
commit724170f4b6840aaf65b07bbdb0975f350bdf171a (patch)
tree28b66b6292caa8b33066ac99c5f3d480c5107a10 /configuredivecomputer.h
parent1d67bae745e491cfe28806dc99f0db005649083d (diff)
downloadsubsurface-724170f4b6840aaf65b07bbdb0975f350bdf171a.tar.gz
Connect the progress events to the progress bar
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'configuredivecomputer.h')
-rw-r--r--configuredivecomputer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/configuredivecomputer.h b/configuredivecomputer.h
index 6cc9b8fa5..1a137cf8c 100644
--- a/configuredivecomputer.h
+++ b/configuredivecomputer.h
@@ -38,6 +38,7 @@ public:
void startFirmwareUpdate(QString fileName, device_data_t *data);
void resetSettings(device_data_t *data);
signals:
+ void progress(int percent);
void message(QString msg);
void error(QString err);
void stateChanged(states newState);
@@ -51,6 +52,7 @@ private:
void setState(states newState);
private
slots:
+ void progressEvent(int percent);
void readThreadFinished();
void writeThreadFinished();
void resetThreadFinished();