Wizards: Turn "platform" into an Id

It used to be a string constant.

Change-Id: Ibea34dc52e97a483989e6d628b908231f4e2dc54
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-11-27 12:07:56 +01:00
parent 4b0a8648e4
commit eebe44d3cf
24 changed files with 113 additions and 115 deletions

View File

@@ -53,7 +53,7 @@ struct BaseProjectWizardDialogPrivate {
const int desiredIntroPageId;
Utils::ProjectIntroPage *introPage;
int introPageId;
QString selectedPlatform;
Core::Id selectedPlatform;
QSet<Core::Id> requiredFeatureSet;
};
@@ -189,12 +189,12 @@ void BaseProjectWizardDialog::addExtensionPages(const QList<QWizardPage *> &wiza
addPage(p);
}
QString BaseProjectWizardDialog::selectedPlatform() const
Core::Id BaseProjectWizardDialog::selectedPlatform() const
{
return d->selectedPlatform;
}
void BaseProjectWizardDialog::setSelectedPlatform(const QString &platform)
void BaseProjectWizardDialog::setSelectedPlatform(Core::Id platform)
{
d->selectedPlatform = platform;
}