Skip to content
Snippets Groups Projects
Commit 93d32054 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Update Wizards to new signature

  Seems like I missed some the first time round. Sorry for that!
parent cdf2ec6f
No related branches found
No related tags found
No related merge requests found
...@@ -214,8 +214,9 @@ Core::GeneratedFiles GenericProjectWizard::generateFiles(const QWizard *w, ...@@ -214,8 +214,9 @@ Core::GeneratedFiles GenericProjectWizard::generateFiles(const QWizard *w,
return files; return files;
} }
bool GenericProjectWizard::postGenerateFiles(const Core::GeneratedFiles &l, QString *errorMessage) bool GenericProjectWizard::postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage)
{ {
Q_UNUSED(w);
// Post-Generate: Open the project // Post-Generate: Open the project
const QString proFileName = l.back().path(); const QString proFileName = l.back().path();
if (!ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(proFileName)) { if (!ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(proFileName)) {
......
...@@ -82,7 +82,7 @@ protected: ...@@ -82,7 +82,7 @@ protected:
virtual Core::GeneratedFiles generateFiles(const QWizard *w, virtual Core::GeneratedFiles generateFiles(const QWizard *w,
QString *errorMessage) const; QString *errorMessage) const;
virtual bool postGenerateFiles(const Core::GeneratedFiles &l, QString *errorMessage); virtual bool postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage);
bool isValidDir(const QFileInfo &fileInfo) const; bool isValidDir(const QFileInfo &fileInfo) const;
......
...@@ -154,8 +154,9 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w ...@@ -154,8 +154,9 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
return files; return files;
} }
bool QmlProjectApplicationWizard::postGenerateFiles(const Core::GeneratedFiles &l, QString *errorMessage) bool QmlProjectApplicationWizard::postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage)
{ {
Q_UNUSED(w);
// Post-Generate: Open the project // Post-Generate: Open the project
const QString proFileName = l.back().path(); const QString proFileName = l.back().path();
if (!ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(proFileName)) { if (!ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(proFileName)) {
......
...@@ -69,7 +69,7 @@ protected: ...@@ -69,7 +69,7 @@ protected:
virtual Core::GeneratedFiles generateFiles(const QWizard *w, virtual Core::GeneratedFiles generateFiles(const QWizard *w,
QString *errorMessage) const; QString *errorMessage) const;
virtual bool postGenerateFiles(const Core::GeneratedFiles &l, QString *errorMessage); virtual bool postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage);
}; };
} // end of namespace Internal } // end of namespace Internal
......
...@@ -170,8 +170,9 @@ Core::GeneratedFiles QmlProjectImportWizard::generateFiles(const QWizard *w, ...@@ -170,8 +170,9 @@ Core::GeneratedFiles QmlProjectImportWizard::generateFiles(const QWizard *w,
return files; return files;
} }
bool QmlProjectImportWizard::postGenerateFiles(const Core::GeneratedFiles &l, QString *errorMessage) bool QmlProjectImportWizard::postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage)
{ {
Q_UNUSED(w);
// Post-Generate: Open the project // Post-Generate: Open the project
const QString proFileName = l.back().path(); const QString proFileName = l.back().path();
if (!ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(proFileName)) { if (!ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(proFileName)) {
......
...@@ -83,7 +83,7 @@ protected: ...@@ -83,7 +83,7 @@ protected:
virtual Core::GeneratedFiles generateFiles(const QWizard *w, virtual Core::GeneratedFiles generateFiles(const QWizard *w,
QString *errorMessage) const; QString *errorMessage) const;
virtual bool postGenerateFiles(const Core::GeneratedFiles &l, QString *errorMessage); virtual bool postGenerateFiles(const QWizard *w, const Core::GeneratedFiles &l, QString *errorMessage);
}; };
} // end of namespace Internal } // end of namespace Internal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment