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

@@ -80,7 +80,7 @@ QVariantMap QmlJSCodeStylePreferences::toMap() const
return map;
}
void QmlJSCodeStylePreferences::fromMap(const Storage &map)
void QmlJSCodeStylePreferences::fromMap(const Store &map)
{
ICodeStylePreferences::fromMap(map);
if (!currentDelegate())

View File

@@ -25,8 +25,8 @@ public:
// tracks parent hierarchy until currentParentSettings is null
QmlJSCodeStyleSettings currentCodeStyleSettings() const;
Utils::Storage toMap() const override;
void fromMap(const Utils::Storage &map) override;
Utils::Store toMap() const override;
void fromMap(const Utils::Store &map) override;
public slots:
void setCodeStyleSettings(const QmlJSCodeStyleSettings &data);

View File

@@ -34,7 +34,7 @@ QVariantMap QmlJSCodeStyleSettings::toMap() const
};
}
void QmlJSCodeStyleSettings::fromMap(const Storage &map)
void QmlJSCodeStyleSettings::fromMap(const Store &map)
{
lineLength = map.value(lineLengthKey, lineLength).toInt();
}

View File

@@ -5,7 +5,7 @@
#include "qmljstools_global.h"
#include <utils/storage.h>
#include <utils/store.h>
#include <optional>
@@ -20,8 +20,8 @@ public:
int lineLength = 80;
Utils::Storage toMap() const;
void fromMap(const Utils::Storage &map);
Utils::Store toMap() const;
void fromMap(const Utils::Store &map);
bool equals(const QmlJSCodeStyleSettings &rhs) const;
bool operator==(const QmlJSCodeStyleSettings &s) const { return equals(s); }