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:09:20 +04:00

35 lines
539 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;
QString currentVersion;
std::string platformParameter = "other";
void loadFromJson(const JsonNode & node);
};
#endif // UPDATEDIALOG_MOC_H