diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2014-10-15 10:50:15 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2014-10-15 18:21:49 +0200 |
commit | 50df8aa98419c25983327b97c5c273be4e308e9a (patch) | |
tree | 3f59aecbeffab1f7bb7b346c7bc398b17c3f2de0 /src/plugins/cppeditor/cppeditorplugin.cpp | |
parent | f429d3a08bf3a8ad6d1a195458d3dcd478849958 (diff) | |
download | qt-creator-50df8aa98419c25983327b97c5c273be4e308e9a.tar.gz |
JsonWizard: Replace CppClassWizard with a JsonWizard
Change-Id: I4e1aeea4ccd1087b5e804e9ba4c2aa8fde4f4fcb
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/cppeditor/cppeditorplugin.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppeditorplugin.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/cppeditor/cppeditorplugin.cpp b/src/plugins/cppeditor/cppeditorplugin.cpp index 577ec4949a..d31b279d46 100644 --- a/src/plugins/cppeditor/cppeditorplugin.cpp +++ b/src/plugins/cppeditor/cppeditorplugin.cpp @@ -31,7 +31,6 @@ #include "cppeditorplugin.h" #include "cppautocompleter.h" -#include "cppclasswizard.h" #include "cppcodemodelinspectordialog.h" #include "cppeditorconstants.h" #include "cppeditor.h" @@ -170,17 +169,6 @@ bool CppEditorPlugin::initialize(const QStringList & /*arguments*/, QString *err addAutoReleasedObject(m_quickFixProvider); registerQuickFixes(this); - QString trCat = QCoreApplication::translate(Constants::WIZARD_CATEGORY, Constants::WIZARD_TR_CATEGORY); - - IWizardFactory *wizard = new CppClassWizard; - wizard->setWizardKind(IWizardFactory::ClassWizard); - wizard->setCategory(QLatin1String(Constants::WIZARD_CATEGORY)); - wizard->setDisplayCategory(trCat); - wizard->setDisplayName(tr("C++ Class")); - wizard->setId(QLatin1String("A.Class")); - wizard->setDescription(tr("Creates a C++ header and a source file for a new class that you can add to a C++ project.")); - addAutoReleasedObject(wizard); - Context context(Constants::CPPEDITOR_ID); ActionContainer *contextMenu = ActionManager::createMenu(Constants::M_CONTEXT); |