define file for update log

This commit is contained in:
Gerhard Hoffmann 2025-04-11 12:27:35 +02:00
parent ac03f4ae91
commit d1b3b81972

View File

@ -6,6 +6,7 @@
#include <QStatusBar>
#include <QVector>
#include <QString>
#include <QProgressBar>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
@ -39,6 +40,7 @@ public:
void setUpdateStep(UpdateDcEvent::UpdateStep updateStep) { m_updateStep = updateStep; }
QString targetDcVersion() {return m_targetDcVersion; }
QProgressBar *progressBar();
public slots:
void onAppendText(QString, QString suffix = "");
@ -69,6 +71,7 @@ public slots:
void onSetDcDownloadProgress(int);
void onShowSummary(QString);
void onSummary();
void onFileChanged(QString const&);
#if EMERGENCY_LEAVE_BL==1
void emergencyLeaveBL();
#endif
@ -103,5 +106,6 @@ private:
QVector<QString> m_updateSteps{};
QFile m_updateLog;
};
#endif // MAINWINDOW_H