1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
OpenMW/apps/wizard/importpage.cpp

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;
}