forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -49,8 +49,8 @@ struct BaseProjectWizardDialogPrivate {
|
||||
const int desiredIntroPageId;
|
||||
Utils::ProjectIntroPage *introPage;
|
||||
int introPageId;
|
||||
Core::Id selectedPlatform;
|
||||
QSet<Core::Id> requiredFeatureSet;
|
||||
Utils::Id selectedPlatform;
|
||||
QSet<Utils::Id> requiredFeatureSet;
|
||||
};
|
||||
|
||||
BaseProjectWizardDialogPrivate::BaseProjectWizardDialogPrivate(Utils::ProjectIntroPage *page, int id) :
|
||||
@@ -182,22 +182,22 @@ void BaseProjectWizardDialog::addExtensionPages(const QList<QWizardPage *> &wiza
|
||||
addPage(p);
|
||||
}
|
||||
|
||||
Core::Id BaseProjectWizardDialog::selectedPlatform() const
|
||||
Utils::Id BaseProjectWizardDialog::selectedPlatform() const
|
||||
{
|
||||
return d->selectedPlatform;
|
||||
}
|
||||
|
||||
void BaseProjectWizardDialog::setSelectedPlatform(Core::Id platform)
|
||||
void BaseProjectWizardDialog::setSelectedPlatform(Utils::Id platform)
|
||||
{
|
||||
d->selectedPlatform = platform;
|
||||
}
|
||||
|
||||
QSet<Core::Id> BaseProjectWizardDialog::requiredFeatures() const
|
||||
QSet<Utils::Id> BaseProjectWizardDialog::requiredFeatures() const
|
||||
{
|
||||
return d->requiredFeatureSet;
|
||||
}
|
||||
|
||||
void BaseProjectWizardDialog::setRequiredFeatures(const QSet<Core::Id> &featureSet)
|
||||
void BaseProjectWizardDialog::setRequiredFeatures(const QSet<Utils::Id> &featureSet)
|
||||
{
|
||||
d->requiredFeatureSet = featureSet;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user