forked from qt-creator/qt-creator
Update Wizards to new signature
Seems like I missed some the first time round. Sorry for that!
This commit is contained in:
@@ -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:
|
|||||||
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
|
|||||||
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:
|
|||||||
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,
|
|||||||
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:
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user