diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-05-19 11:44:04 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-05-26 10:17:30 +0000 |
commit | 9c1f96d47a65b0c084dc4767308c88527184a8cc (patch) | |
tree | 330d3cda3289275a350e54ac441ff2cee45f7ed4 /src/plugins/designer | |
parent | f895d97b035ab6545c3e6bd8655a5ecbdbc360b5 (diff) | |
download | qt-creator-9c1f96d47a65b0c084dc4767308c88527184a8cc.tar.gz |
IWizardFactory: Remove class wizard kind
Map existing class wizards to file wizards. The separation has never
been clean anyway. Now "file" wizards create one or more files,
"project" wizards create a complete project (something that can be
opened as a project in Qt Creator).
Change-Id: I0562f26019b54a59d46814a13a0b2fa8995c3e0f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/designer')
-rw-r--r-- | src/plugins/designer/formeditorplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/designer/formeditorplugin.cpp b/src/plugins/designer/formeditorplugin.cpp index a95413f22f..58bade244a 100644 --- a/src/plugins/designer/formeditorplugin.cpp +++ b/src/plugins/designer/formeditorplugin.cpp @@ -134,7 +134,7 @@ void FormEditorPlugin::initializeTemplates() { #ifdef CPP_ENABLED IWizardFactory *wizard = new FormClassWizard; - wizard->setWizardKind(IWizardFactory::ClassWizard); + 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 Class")); |