qt/LedOK/base/updateledset3dialog.h

31 lines
604 B
C
Raw Normal View History

2022-01-04 18:11:48 +08:00
#ifndef UPDATELEDSET3DIALOG_H
#define UPDATELEDSET3DIALOG_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 UpdateLedset3Dialog;
}
2022-08-25 18:37:24 +08:00
class UpdateLedset3Dialog : public BaseDlg
2022-01-04 18:11:48 +08:00
{
Q_OBJECT
public:
explicit UpdateLedset3Dialog(QWidget *parent = nullptr);
~UpdateLedset3Dialog();
private:
Ui::UpdateLedset3Dialog *ui;
QSimpleUpdater *m_updater;
QString m_strLastestVersion="";
protected slots:
void OnCheckForUpdates() ;
void updateChangelog(QString);
void OnDownloadFinished( QString url, QString filepath);
};
#endif // UPDATELEDSET3DIALOG_H