forked from qt-creator/qt-creator
BaseFileWizardFactory: rename createWizardDialog method to create
Unify name of parameters object that gets passed into the method while at it anyway. Change-Id: I9cfdfe3b7dcdbd5e083b3b91922053be3a63b081 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -54,14 +54,13 @@ CustomWidgetWizard::CustomWidgetWizard()
|
||||
setRequiredFeatures(Core::Feature(QtSupport::Constants::FEATURE_QWIDGETS));
|
||||
}
|
||||
|
||||
QWizard *CustomWidgetWizard::createWizardDialog(QWidget *parent,
|
||||
const Core::WizardDialogParameters &wizardDialogParameters) const
|
||||
QWizard *CustomWidgetWizard::create(QWidget *parent, const Core::WizardDialogParameters ¶meters) const
|
||||
{
|
||||
CustomWidgetWizardDialog *rc = new CustomWidgetWizardDialog(displayName(),
|
||||
icon(),
|
||||
parent,
|
||||
wizardDialogParameters);
|
||||
rc->setProjectName(CustomWidgetWizardDialog::uniqueProjectName(wizardDialogParameters.defaultPath()));
|
||||
parameters);
|
||||
rc->setProjectName(CustomWidgetWizardDialog::uniqueProjectName(parameters.defaultPath()));
|
||||
rc->setFileNamingParameters(FileNamingParameters(headerSuffix(), sourceSuffix(), QtWizard::lowerCaseFiles()));
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user