Made GUI app and library wizard honor the camelcase file settings.

Add setters in File page and the dialogs, convenience to
QtWizard.
This commit is contained in:
Friedemann Kleint
2009-06-17 12:40:54 +02:00
parent 873838fe3a
commit 67dcfb8e3c
10 changed files with 50 additions and 3 deletions

View File

@@ -58,8 +58,9 @@ QWizard *LibraryWizard::createWizardDialog(QWidget *parent,
const WizardPageList &extensionPages) const
{
LibraryWizardDialog *dialog = new LibraryWizardDialog(name(), icon(), extensionPages, parent);
dialog->setLowerCaseFiles(QtWizard::lowerCaseFiles());
dialog->setPath(defaultPath.isEmpty() ? Core::Utils::PathChooser::homePath() : defaultPath);
dialog->setSuffixes(headerSuffix(), sourceSuffix(), formSuffix());
dialog->setSuffixes(headerSuffix(), sourceSuffix(), formSuffix());
return dialog;
}