MCPcopy Create free account
hub / github.com/Kitware/ParaView / removeItemFromSettings

Method removeItemFromSettings

Qt/Python/pqPythonMacroSettings.cxx:159–166  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

157
158//----------------------------------------------------------------------------
159void pqPythonMacroSettings::removeItemFromSettings(const QString& macroPath)
160{
161 auto valueMap = this->getItemSettings();
162 if (valueMap.remove(macroPath) > 0)
163 {
164 this->writeItemSettings(valueMap);
165 }
166}

Callers 5

addMacroMethod · 0.45
removeMacroMethod · 0.45
setNameForMacroMethod · 0.45
setTooltipForMacroMethod · 0.45
setIconForMacroMethod · 0.45

Calls 3

getItemSettingsMethod · 0.95
writeItemSettingsMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected