Esempio n. 1
0
void XMLimport::readAreas()
{
    while( ! atEnd() )
    {
        readNext();
        if( name() == "areas")
        {
            break;
        }
        if( name() == "area" )
        {
            readAreaNames();
        }

    }
}
Esempio n. 2
0
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;
}