MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / keyList

Method keyList

src/common/settings/settings.cpp:166–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166QStringList Settings::keyList(const QString &group) const
167{
168 QSet<QString> keyList;
169 const auto &&kg = d->settingData.values.value(group);
170 const auto &&dkg = d->defaultData.values.value(group);
171
172 keyList += QSet<QString>::fromList(kg.keys());
173 keyList += QSet<QString>::fromList(dkg.keys());
174
175 return keyList.toList();
176}
177
178bool Settings::contains(const QString &group, const QString &key) const
179{

Callers 1

restoreValuesMethod · 0.80

Calls 3

toListMethod · 0.80
valueMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected