void XMLimport::readAreas() { while( ! atEnd() ) { readNext(); if( name() == "areas") { break; } if( name() == "area" ) { readAreaNames(); } } }
void XMLimport::readAreas() { while( ! atEnd() ) { readNext(); if( name() == "areas") { qDebug()<<"===> end of area list reached"; break; } if( name() == "area" ) { readAreaNames(); } } qDebug()<<"done reading areas - AREAS:"<<mpHost->mpMap->areaNamesMap; }