MCPcopy Create free account
hub / github.com/LMMS/lmms / saveXML

Method saveXML

src/core/Plugin.cpp:168–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166
167
168QDomElement Plugin::Descriptor::SubPluginFeatures::Key::saveXML(
169 QDomDocument & doc ) const
170{
171 QDomElement e = doc.createElement( "key" );
172 for( AttributeMap::ConstIterator it = attributes.begin();
173 it != attributes.end(); ++it )
174 {
175 QDomElement a = doc.createElement( "attribute" );
176 a.setAttribute( "name", it.key() );
177 a.setAttribute( "value", it.value() );
178 e.appendChild( a );
179 }
180 return e;
181}
182
183
184

Callers 2

saveSettingsMethod · 0.45
upgrade_0_4_0_beta1Method · 0.45

Calls 4

keyMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected