Use Utils::Storage instead of QVariantMap in a few places

Change-Id: I02833cf2bc3caaadc22ff93ae530e4aebe4c3868
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2023-08-23 16:11:48 +02:00
parent 55b5b8a975
commit dc6b40a5c0
191 changed files with 525 additions and 491 deletions

View File

@@ -241,7 +241,7 @@ ToolChain *ToolChain::clone() const
Make sure to call this function when deriving.
*/
void ToolChain::toMap(QVariantMap &result) const
void ToolChain::toMap(Storage &result) const
{
AspectContainer::toMap(result);
@@ -350,7 +350,7 @@ void ToolChain::setTypeDisplayName(const QString &typeName)
Make sure to call this function when deriving.
*/
void ToolChain::fromMap(const QVariantMap &data)
void ToolChain::fromMap(const Storage &data)
{
AspectContainer::fromMap(data);
@@ -711,7 +711,7 @@ QVariantMap BadToolchain::toMap() const
{badToolchainTimestampKey(), timestamp.toMSecsSinceEpoch()}};
}
BadToolchain BadToolchain::fromMap(const QVariantMap &map)
BadToolchain BadToolchain::fromMap(const Storage &map)
{
return {
FilePath::fromSettings(map.value(badToolchainFilePathKey())),