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

Method replaceKey

src/plugins/binarytools/mainframe/binarytoolssetting.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void BinaryToolsSetting::replaceKey(const QString &oldKey, const QString &newKey)
38{
39 settings->setValue(newKey ,settings->value(oldKey));
40 settings->remove(oldKey);
41}
42
43bool BinaryToolsSetting::hasKey(const QString &key)
44{

Callers

nothing calls this directly

Calls 3

setValueMethod · 0.45
valueMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected