summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/wizard/pythonclasswizard.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-05-27 12:23:38 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-06-06 09:34:52 +0200
commit5b5bea0c142064f88ad65220730e04ebb33623ca (patch)
tree7ce5d99e9a65ecd103f7d1ddcba8f0e2937c0692 /src/plugins/pythoneditor/wizard/pythonclasswizard.cpp
parenta34b0b90cd3554c1407497409a02c06936052ca6 (diff)
downloadqt-creator-5b5bea0c142064f88ad65220730e04ebb33623ca.tar.gz
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>
Diffstat (limited to 'src/plugins/pythoneditor/wizard/pythonclasswizard.cpp')
-rw-r--r--src/plugins/pythoneditor/wizard/pythonclasswizard.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/pythoneditor/wizard/pythonclasswizard.cpp b/src/plugins/pythoneditor/wizard/pythonclasswizard.cpp
index dc112c5b78..64eb63eb1f 100644
--- a/src/plugins/pythoneditor/wizard/pythonclasswizard.cpp
+++ b/src/plugins/pythoneditor/wizard/pythonclasswizard.cpp
@@ -55,15 +55,13 @@ ClassWizard::ClassWizard()
setDescription(ClassWizard::tr(Constants::EN_PY_CLASS_DESCRIPTION));
}
-QWizard *ClassWizard::createWizardDialog(
- QWidget *parent,
- const Core::WizardDialogParameters &params) const
+QWizard *ClassWizard::create(QWidget *parent, const Core::WizardDialogParameters &parameters) const
{
ClassWizardDialog *wizard = new ClassWizardDialog(parent);
- foreach (QWizardPage *p, params.extensionPages())
+ foreach (QWizardPage *p, parameters.extensionPages())
BaseFileWizardFactory::applyExtensionPageShortTitle(wizard, wizard->addPage(p));
- wizard->setPath(params.defaultPath());
- wizard->setExtraValues(params.extraValues());
+ wizard->setPath(parameters.defaultPath());
+ wizard->setExtraValues(parameters.extraValues());
return wizard;
}