Implement adding new project into opened subdirs project

Reviewed-by: dt <qtc-committer@nokia.com>
This commit is contained in:
Jarek Kobus
2010-08-26 18:33:16 +02:00
parent fc1be8b488
commit 1cefde9e45
30 changed files with 271 additions and 46 deletions

View File

@@ -184,5 +184,14 @@ Core::GeneratedFiles TestWizard::generateFiles(const QWizard *w, QString *errorM
return Core::GeneratedFiles() << source << profile;
}
QString TestWizard::generatedProjectFilePath(const QWizard *w) const
{
const TestWizardDialog *wizardDialog = qobject_cast<const TestWizardDialog *>(w);
const QtProjectParameters projectParams = wizardDialog->projectParameters();
const QString projectPath = projectParams.projectPath();
return buildFileName(projectPath, projectParams.fileName, profileSuffix());
}
} // namespace Internal
} // namespace Qt4ProjectManager