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:
hjk
2023-08-23 16:53:06 +02:00
parent 14d21f4f2c
commit 6e307be365
181 changed files with 457 additions and 456 deletions

View File

@@ -103,7 +103,7 @@ QVariantMap CustomParserExpression::toMap() const
return map;
}
void CustomParserExpression::fromMap(const Storage &map)
void CustomParserExpression::fromMap(const Store &map)
{
setPattern(map.value(patternKey).toString());
setMessageCap(map.value(messageCapKey).toInt());
@@ -149,7 +149,7 @@ QVariantMap CustomParserSettings::toMap() const
return map;
}
void CustomParserSettings::fromMap(const Storage &map)
void CustomParserSettings::fromMap(const Store &map)
{
id = Utils::Id::fromSetting(map.value(idKey));
displayName = map.value(nameKey).toString();
@@ -173,12 +173,12 @@ CustomParsersAspect::CustomParsersAspect(Target *target)
});
}
void CustomParsersAspect::fromMap(const Storage &map)
void CustomParsersAspect::fromMap(const Store &map)
{
m_parsers = transform(map.value(settingsKey()).toList(), &Utils::Id::fromSetting);
}
void CustomParsersAspect::toMap(Storage &map) const
void CustomParsersAspect::toMap(Store &map) const
{
map.insert(settingsKey(), transform(m_parsers, &Utils::Id::toSetting));
}