summaryrefslogtreecommitdiffstats
path: root/src/b2qt-flashing-wizard/progress_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/b2qt-flashing-wizard/progress_page.h')
-rw-r--r--src/b2qt-flashing-wizard/progress_page.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/b2qt-flashing-wizard/progress_page.h b/src/b2qt-flashing-wizard/progress_page.h
index 6f62a72..d0a3b79 100644
--- a/src/b2qt-flashing-wizard/progress_page.h
+++ b/src/b2qt-flashing-wizard/progress_page.h
@@ -21,7 +21,7 @@
#define PROGRESS_PAGE_H
#include <QWizardPage>
-class QProgressBar;
+class QLabel;
class Actor;
class QTextEdit;
@@ -36,20 +36,15 @@ public:
void setActor(Actor *actor);
public slots:
- void progress(unsigned int, unsigned int, unsigned int);
+ void progress(const QString &step);
void finished();
void addDetails(QByteArray newData);
-private slots:
- void progressTimeout();
-
private:
- QProgressBar* mProgress;
+ QLabel *mProgress;
Actor *mActor;
bool mFinished;
QTextEdit *mTextEdit;
- int mNextProgress;
- QTimer *mTimer;
};
#endif // PROGRESS_PAGE_H