19 #include <QDomElement>
24 QList<QDomNode>::const_iterator it = layers.constBegin();
25 for ( ; it != layers.constEnd(); ++it )
29 QDomElement idElem = it->firstChildElement(
"id" );
30 if ( !idElem.isNull() )
32 const QString badLayerId = idElem.text();
33 mBadLayerIds.append( badLayerId );
34 const QDomElement nameElem = it->firstChildElement(
"layername" );
35 if ( !nameElem.isNull() )
37 mBadLayerNames.insert( badLayerId, nameElem.text() );