forked from qt-creator/qt-creator
IWizard->IWizardFactory
Start at splitting up the wizard functionality a bit. Currently it is a factory but also contains a lot of logic that is invoked by the real wizard dialogs. This change renames/moves a couple of things only. Change-Id: I1fa114ee3ee262f7c0690841f361bbf09e674725 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -126,8 +126,8 @@ void FormEditorPlugin::extensionsInitialized()
|
||||
|
||||
void FormEditorPlugin::initializeTemplates()
|
||||
{
|
||||
IWizard *wizard = new FormWizard;
|
||||
wizard->setWizardKind(IWizard::FileWizard);
|
||||
IWizardFactory *wizard = new FormWizard;
|
||||
wizard->setWizardKind(IWizardFactory::FileWizard);
|
||||
wizard->setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT));
|
||||
wizard->setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::WIZARD_TR_CATEGORY_QT));
|
||||
wizard->setDisplayName(tr("Qt Designer Form"));
|
||||
@@ -138,7 +138,7 @@ void FormEditorPlugin::initializeTemplates()
|
||||
|
||||
#ifdef CPP_ENABLED
|
||||
wizard = new FormClassWizard;
|
||||
wizard->setWizardKind(IWizard::ClassWizard);
|
||||
wizard->setWizardKind(IWizardFactory::ClassWizard);
|
||||
wizard->setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT));
|
||||
wizard->setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::WIZARD_TR_CATEGORY_QT));
|
||||
wizard->setDisplayName(tr("Qt Designer Form Class"));
|
||||
|
||||
Reference in New Issue
Block a user