1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00
Files
vcmi/launcher/updatedialog_moc.h

35 lines
543 B
C
Raw Normal View History

2022-08-25 03:14:12 +04:00
#ifndef UPDATEDIALOG_MOC_H
#define UPDATEDIALOG_MOC_H
#include <QDialog>
2022-08-25 05:09:20 +04:00
class JsonNode;
2022-08-25 03:14:12 +04:00
namespace Ui {
class UpdateDialog;
}
class UpdateDialog : public QDialog
{
Q_OBJECT
public:
explicit UpdateDialog(QWidget *parent = nullptr);
~UpdateDialog();
static void showUpdateDialog();
2022-08-25 03:43:58 +04:00
private slots:
void on_checkOnStartup_stateChanged(int state);
2022-08-25 03:14:12 +04:00
private:
Ui::UpdateDialog *ui;
2022-08-25 05:09:20 +04:00
2022-08-25 05:34:36 +04:00
std::string currentVersion;
2022-08-25 05:09:20 +04:00
std::string platformParameter = "other";
void loadFromJson(const JsonNode & node);
2022-08-25 03:14:12 +04:00
};
#endif // UPDATEDIALOG_MOC_H