forked from qt-creator/qt-creator
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user