Introduce BaseFileWizard

Introduce BaseFileWizard and derive all File Wizards from that.

Change BaseFileWizardFactory::create(...) to return a BaseFileWizard.

Change-Id: Ic0cb9e9d0390045dab57cd1a75a0f839c1f90216
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2014-05-27 13:18:05 +02:00
parent 5b5bea0c14
commit 55f625465d
54 changed files with 198 additions and 121 deletions

View File

@@ -30,7 +30,8 @@
#ifndef PYTHONEDITOR_CLASSWIZARDDIALOG_H
#define PYTHONEDITOR_CLASSWIZARDDIALOG_H
#include <utils/wizard.h>
#include <coreplugin/basefilewizard.h>
#include <utils/newclasswidget.h>
#include <QScopedPointer>
#include <QVariantMap>
@@ -50,7 +51,7 @@ public:
Utils::NewClassWidget::ClassType classType;
};
class ClassWizardDialog : public Utils::Wizard
class ClassWizardDialog : public Core::BaseFileWizard
{
Q_OBJECT
public: