1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 00:15:06 +00:00
OpenMW/apps/wizard/importpage.cpp
2022-09-22 21:35:26 +03:00

21 lines
526 B
C++

#include "importpage.hpp"
#include "mainwizard.hpp"
Wizard::ImportPage::ImportPage(QWidget* parent)
: QWizardPage(parent)
{
mWizard = qobject_cast<MainWizard*>(parent);
setupUi(this);
registerField(QLatin1String("installation.import-settings"), importCheckBox);
registerField(QLatin1String("installation.import-addons"), addonsCheckBox);
registerField(QLatin1String("installation.import-fonts"), fontsCheckBox);
}
int Wizard::ImportPage::nextId() const
{
return MainWizard::Page_Conclusion;
}