summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorplugin.cpp
diff options
context:
space:
mode:
authorSergey Shambir <sergey.shambir.auto@gmail.com>2013-03-19 00:41:44 +0400
committerSergey Shambir <sergey.shambir.auto@gmail.com>2013-04-26 13:30:48 +0200
commit516116c5a53a83b2ca70da518e9fcea5c783305e (patch)
treeae67305b94a2f04488269b55b73388f1123a45a9 /src/plugins/pythoneditor/pythoneditorplugin.cpp
parentecacaab7a486191e928e1ce52da974c4b2de8efd (diff)
downloadqt-creator-516116c5a53a83b2ca70da518e9fcea5c783305e.tar.gz
PythonEditor: added class wizard
Contains SourceGenerator class which was also used to generate app template in PythonProjectManager; it saved for future use. Change-Id: I3d44e6d33a3beabc73030acdd6740edf1745e485 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp
index a800aa3925..d027bf986d 100644
--- a/src/plugins/pythoneditor/pythoneditorplugin.cpp
+++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp
@@ -30,6 +30,7 @@
#include "pythoneditorplugin.h"
#include "pythoneditorconstants.h"
#include "wizard/pythonfilewizard.h"
+#include "wizard/pythonclasswizard.h"
#include "pythoneditorwidget.h"
#include "pythoneditorfactory.h"
@@ -249,6 +250,7 @@ bool PythonEditorPlugin::initialize(
// Add Python files and classes creation dialogs
////////////////////////////////////////////////////////////////////////////
addAutoReleasedObject(new FileWizard(Core::ICore::instance()));
+ addAutoReleasedObject(new ClassWizard(Core::ICore::instance()));
return true;
}