MCPcopy Create free account
hub / github.com/MITK/MITK / PutBoolean

Method PutBoolean

Plugins/org.blueberry.ui.qt/src/berryXMLMemento.cpp:382–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382void berry::XMLMemento::PutBoolean(const QString& key, bool value)
383{
384 if (value)
385 {
386 element->setAttribute(key.toStdString(), "true");
387 }
388 else
389 {
390 element->setAttribute(key.toStdString(), "false");
391 }
392}
393
394void berry::XMLMemento::PutTextData(const QString& data)
395{

Callers 2

SaveStateMethod · 0.80
SaveStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected