Commit e7689ce9 authored by Tobias Hunger's avatar Tobias Hunger

IWizardFactory: Rename StandardFileWizard to StandardFileWizardFactory

Change-Id: I6594b79c025285c28542a39742fd80afecf80b73
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 93564323
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
namespace Android { namespace Android {
namespace Internal { namespace Internal {
class JavaFileWizard : public Core::StandardFileWizard class JavaFileWizard : public Core::StandardFileWizardFactory
{ {
Q_OBJECT Q_OBJECT
......
...@@ -525,7 +525,7 @@ QString BaseFileWizardFactory::preferredSuffix(const QString &mimeType) ...@@ -525,7 +525,7 @@ QString BaseFileWizardFactory::preferredSuffix(const QString &mimeType)
Creates a Utils::FileWizardDialog. Creates a Utils::FileWizardDialog.
*/ */
QWizard *StandardFileWizard::createWizardDialog(QWidget *parent, QWizard *StandardFileWizardFactory::createWizardDialog(QWidget *parent,
const WizardDialogParameters &wizardDialogParameters) const const WizardDialogParameters &wizardDialogParameters) const
{ {
Utils::FileWizardDialog *standardWizardDialog = new Utils::FileWizardDialog(parent); Utils::FileWizardDialog *standardWizardDialog = new Utils::FileWizardDialog(parent);
...@@ -542,7 +542,7 @@ QWizard *StandardFileWizard::createWizardDialog(QWidget *parent, ...@@ -542,7 +542,7 @@ QWizard *StandardFileWizard::createWizardDialog(QWidget *parent,
Retrieves \a path and \a fileName and calls \c generateFilesFromPath(). Retrieves \a path and \a fileName and calls \c generateFilesFromPath().
*/ */
GeneratedFiles StandardFileWizard::generateFiles(const QWizard *w, GeneratedFiles StandardFileWizardFactory::generateFiles(const QWizard *w,
QString *errorMessage) const QString *errorMessage) const
{ {
const Utils::FileWizardDialog *standardWizardDialog = qobject_cast<const Utils::FileWizardDialog *>(w); const Utils::FileWizardDialog *standardWizardDialog = qobject_cast<const Utils::FileWizardDialog *>(w);
......
...@@ -138,7 +138,7 @@ protected: ...@@ -138,7 +138,7 @@ protected:
static bool postGenerateOpenEditors(const GeneratedFiles &l, QString *errorMessage = 0); static bool postGenerateOpenEditors(const GeneratedFiles &l, QString *errorMessage = 0);
}; };
class CORE_EXPORT StandardFileWizard : public BaseFileWizardFactory class CORE_EXPORT StandardFileWizardFactory : public BaseFileWizardFactory
{ {
Q_OBJECT Q_OBJECT
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
namespace CppEditor { namespace CppEditor {
namespace Internal { namespace Internal {
class CppFileWizard : public Core::StandardFileWizard class CppFileWizard : public Core::StandardFileWizardFactory
{ {
Q_OBJECT Q_OBJECT
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
namespace QmlJSEditor { namespace QmlJSEditor {
class QmlFileWizard: public Core::StandardFileWizard class QmlFileWizard: public Core::StandardFileWizardFactory
{ {
Q_OBJECT Q_OBJECT
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
namespace ResourceEditor { namespace ResourceEditor {
namespace Internal { namespace Internal {
class ResourceWizard : public Core::StandardFileWizard class ResourceWizard : public Core::StandardFileWizardFactory
{ {
Q_OBJECT Q_OBJECT
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
namespace TextEditor { namespace TextEditor {
class TEXTEDITOR_EXPORT TextFileWizard : public Core::StandardFileWizard class TEXTEDITOR_EXPORT TextFileWizard : public Core::StandardFileWizardFactory
{ {
Q_OBJECT Q_OBJECT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment