MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / setString

Method setString

pj_runtime/src/QSettingsBackend.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void QSettingsBackend::setString(std::string_view key, std::string_view value) {
30 settings_.setValue(toKey(key), QString::fromUtf8(value.data(), static_cast<qsizetype>(value.size())));
31}
32
33std::optional<std::vector<std::string>> QSettingsBackend::getStringList(std::string_view key) {
34 const QString qkey = toKey(key);

Callers 1

TESTFunction · 0.80

Calls 4

toKeyFunction · 0.85
setValueMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64