2022-01-04 18:11:48 +08:00
|
|
|
#ifndef UPDATERDIALOG_H
|
|
|
|
#define UPDATERDIALOG_H
|
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
#include <basedlg.h>
|
2022-01-04 18:11:48 +08:00
|
|
|
#include <QSimpleUpdater.h>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class UpdaterDialog;
|
|
|
|
}
|
|
|
|
|
2022-08-25 18:37:24 +08:00
|
|
|
class UpdaterDialog : public BaseDlg
|
2022-01-04 18:11:48 +08:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit UpdaterDialog(QWidget *parent = nullptr);
|
|
|
|
~UpdaterDialog();
|
|
|
|
private:
|
|
|
|
Ui::UpdaterDialog *ui;
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void OnCheckForUpdates() ;
|
|
|
|
void updateChangelog(QString);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // UPDATERDIALOG_H
|