1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-18 17:40:48 +02:00
vcmi/launcher/updatedialog_moc.h
2022-08-25 05:34:36 +04:00

35 lines
543 B
C++

#ifndef UPDATEDIALOG_MOC_H
#define UPDATEDIALOG_MOC_H
#include <QDialog>
class JsonNode;
namespace Ui {
class UpdateDialog;
}
class UpdateDialog : public QDialog
{
Q_OBJECT
public:
explicit UpdateDialog(QWidget *parent = nullptr);
~UpdateDialog();
static void showUpdateDialog();
private slots:
void on_checkOnStartup_stateChanged(int state);
private:
Ui::UpdateDialog *ui;
std::string currentVersion;
std::string platformParameter = "other";
void loadFromJson(const JsonNode & node);
};
#endif // UPDATEDIALOG_MOC_H