diff options
author | hjk <hjk121@nokiamail.com> | 2013-09-20 15:12:44 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-09-24 09:57:32 +0200 |
commit | 49d0789e641e118dd412d3094e1f121f6ddfcb86 (patch) | |
tree | 8c19f6d76670e4c097edc44338b2b9813ebb0cb9 /src/plugins/resourceeditor/resourceeditorplugin.cpp | |
parent | aa32c2be87f7192e03f06b8b5223100354e269a6 (diff) | |
download | qt-creator-49d0789e641e118dd412d3094e1f121f6ddfcb86.tar.gz |
Cleanup IWizard interface and users
Added 639 lines, removed 1391.
Change-Id: I15ec7dd056d4f7ad79c6dd6a4181007ad14f6a43
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorplugin.cpp')
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorplugin.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp index 7996b1c827..4fd92ebeb8 100644 --- a/src/plugins/resourceeditor/resourceeditorplugin.cpp +++ b/src/plugins/resourceeditor/resourceeditorplugin.cpp @@ -73,14 +73,13 @@ bool ResourceEditorPlugin::initialize(const QStringList &arguments, QString *err m_editor = new ResourceEditorFactory(this); addObject(m_editor); - Core::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard); - wizardParameters.setDescription(tr("Creates a Qt Resource file (.qrc) that you can add to a Qt Widget Project.")); - wizardParameters.setDisplayName(tr("Qt Resource file")); - wizardParameters.setId(QLatin1String("F.Resource")); - wizardParameters.setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT)); - wizardParameters.setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::WIZARD_TR_CATEGORY_QT)); - - m_wizard = new ResourceWizard(wizardParameters, this); + m_wizard = new ResourceWizard(this); + m_wizard->setDescription(tr("Creates a Qt Resource file (.qrc) that you can add to a Qt Widget Project.")); + m_wizard->setDisplayName(tr("Qt Resource file")); + m_wizard->setId(QLatin1String("F.Resource")); + m_wizard->setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT)); + m_wizard->setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::WIZARD_TR_CATEGORY_QT)); + addObject(m_wizard); errorMessage->clear(); |