define file for update log
This commit is contained in:
parent
ac03f4ae91
commit
d1b3b81972
@ -6,6 +6,7 @@
|
|||||||
#include <QStatusBar>
|
#include <QStatusBar>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
#include <QProgressBar>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui { class MainWindow; }
|
namespace Ui { class MainWindow; }
|
||||||
@ -39,6 +40,7 @@ public:
|
|||||||
void setUpdateStep(UpdateDcEvent::UpdateStep updateStep) { m_updateStep = updateStep; }
|
void setUpdateStep(UpdateDcEvent::UpdateStep updateStep) { m_updateStep = updateStep; }
|
||||||
|
|
||||||
QString targetDcVersion() {return m_targetDcVersion; }
|
QString targetDcVersion() {return m_targetDcVersion; }
|
||||||
|
QProgressBar *progressBar();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void onAppendText(QString, QString suffix = "");
|
void onAppendText(QString, QString suffix = "");
|
||||||
@ -69,6 +71,7 @@ public slots:
|
|||||||
void onSetDcDownloadProgress(int);
|
void onSetDcDownloadProgress(int);
|
||||||
void onShowSummary(QString);
|
void onShowSummary(QString);
|
||||||
void onSummary();
|
void onSummary();
|
||||||
|
void onFileChanged(QString const&);
|
||||||
#if EMERGENCY_LEAVE_BL==1
|
#if EMERGENCY_LEAVE_BL==1
|
||||||
void emergencyLeaveBL();
|
void emergencyLeaveBL();
|
||||||
#endif
|
#endif
|
||||||
@ -103,5 +106,6 @@ private:
|
|||||||
|
|
||||||
QVector<QString> m_updateSteps{};
|
QVector<QString> m_updateSteps{};
|
||||||
|
|
||||||
|
QFile m_updateLog;
|
||||||
};
|
};
|
||||||
#endif // MAINWINDOW_H
|
#endif // MAINWINDOW_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user