mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
1d67bae745
commit
724170f4b6
3 changed files with 16 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue