| 166 | |
| 167 | |
| 168 | QDomElement 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 |
no test coverage detected