Refactoring fixes

This commit is contained in:
bsongis
2014-12-17 20:13:25 +01:00
parent 567dcd74f0
commit 5046f77cd9
5 changed files with 61 additions and 60 deletions
+5
View File
@@ -7,6 +7,7 @@
class ProgressWidget;
class QProcess;
class QTimer;
class FlashProcess : public QObject
{
@@ -25,6 +26,7 @@ protected slots:
void onReadyReadStandardOutput();
void onReadyReadStandardError();
void onFinished(int);
void onKillTimerElapsed();
protected:
void analyseStandardOutput(const QString &text);
@@ -43,6 +45,9 @@ protected:
unsigned int efuse;
enum FlashPhase { READING, WRITING, VERIFYING };
FlashPhase flashPhase;
#if !__GNUC__
QTimer *killTimer;
#endif
};
#endif // FLASHPROCESS_H_