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