forked from qt-creator/qt-creator
Utils: Rename the new Storage to Store
Apparently that's what the young people on the web use for such a thing. Change-Id: I75d5396ff3cb3c26efd6008b5f2261354c4f7896 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -137,14 +137,14 @@ void MesonBuildConfiguration::setParameters(const QString ¶ms)
|
||||
emit parametersChanged();
|
||||
}
|
||||
|
||||
void MesonBuildConfiguration::toMap(Storage &map) const
|
||||
void MesonBuildConfiguration::toMap(Store &map) const
|
||||
{
|
||||
ProjectExplorer::BuildConfiguration::toMap(map);
|
||||
map[Constants::BuildConfiguration::BUILD_TYPE_KEY] = mesonBuildTypeName(m_buildType);
|
||||
map[Constants::BuildConfiguration::PARAMETERS_KEY] = m_parameters;
|
||||
}
|
||||
|
||||
void MesonBuildConfiguration::fromMap(const Storage &map)
|
||||
void MesonBuildConfiguration::fromMap(const Store &map)
|
||||
{
|
||||
ProjectExplorer::BuildConfiguration::fromMap(map);
|
||||
m_buildSystem = new MesonBuildSystem{this};
|
||||
|
||||
@@ -30,8 +30,8 @@ signals:
|
||||
void parametersChanged();
|
||||
|
||||
private:
|
||||
void toMap(Utils::Storage &map) const override;
|
||||
void fromMap(const Utils::Storage &map) override;
|
||||
void toMap(Utils::Store &map) const override;
|
||||
void fromMap(const Utils::Store &map) override;
|
||||
|
||||
MesonBuildType m_buildType;
|
||||
ProjectExplorer::NamedWidget *createConfigWidget() final;
|
||||
|
||||
@@ -199,14 +199,14 @@ void NinjaBuildStep::setCommandArgs(const QString &args)
|
||||
m_commandArgs = args.trimmed();
|
||||
}
|
||||
|
||||
void NinjaBuildStep::toMap(Storage &map) const
|
||||
void NinjaBuildStep::toMap(Store &map) const
|
||||
{
|
||||
AbstractProcessStep::toMap(map);
|
||||
map.insert(TARGETS_KEY, m_targetName);
|
||||
map.insert(TOOL_ARGUMENTS_KEY, m_commandArgs);
|
||||
}
|
||||
|
||||
void NinjaBuildStep::fromMap(const Storage &map)
|
||||
void NinjaBuildStep::fromMap(const Store &map)
|
||||
{
|
||||
m_targetName = map.value(TARGETS_KEY).toString();
|
||||
m_commandArgs = map.value(TOOL_ARGUMENTS_KEY).toString();
|
||||
|
||||
@@ -26,8 +26,8 @@ public:
|
||||
Q_SIGNAL void targetListChanged();
|
||||
Q_SIGNAL void commandChanged();
|
||||
|
||||
void toMap(Utils::Storage &map) const override;
|
||||
void fromMap(const Utils::Storage &map) override;
|
||||
void toMap(Utils::Store &map) const override;
|
||||
void fromMap(const Utils::Store &map) override;
|
||||
|
||||
private:
|
||||
void update(bool parsingSuccessful);
|
||||
|
||||
Reference in New Issue
Block a user