Type") {
            QString str = readString();

            if (str.compare("null", Qt::CaseInsensitive) == 0) {
                group->setAutoTypeEnabled(Group::Inherit);
            }
            else if (str.compare("true", Qt::CaseInsensitive) == 0) {
                group->setAutoTypeEnabled(Group::Enable);
            }
            else if (str.compare("false", Qt::CaseInsensitive) == 0) {
                group->setAutoTypeEnabled(Group::Disable);
            }
            else {
                raiseError("Invalid EnableAutoType value");
            }
        }
        else if (m_xml.name() == "EnableSearching") {
            QString str = readString();

            if (str.compare("null", Qt::CaseInsensitive) == 0) {
                group->setSearchingEnabled(Group::Inherit);
            }
            else if (str.compare("true", Qt::CaseInsensitive) == 0) {
                group->setSearchingEnabled(Group::Enable);
            }
            else if (str.compare("false", Qt::CaseInsensitive) == 0) {
                group->setSearchingEnabled(Group::Disable);
            }
            else {
                raiseError("Invalid EnableSearching value");
            }
        }
        else if (m_xml.name() == "LastTopVisibleEntry") {
            group->setLastTopVisibleEntry(getEntry(readUuid()));
        }
        else if (m_xml.name() == "Group") {
            Group* newGroup = parseGroup();
            if (newGroup) {
                children.append(newGroup);
            }
        }
        else if (m_xml.name() == "Entry") {
            Entry* newEntry = parseEntry(false);
            if (newEntry) {
                entries.append(newEntry);
            }
        }
        else {
            skipCurrentElement();
        }
    }

    if (group->uuid().isNull() &&!m_strictMode) {
        group->setUuid(Uuid::random());
    }

    if (!group->uuid().isNull()) {
        Group* tmp
Type ") { 
             QString str = readString (); 

             if (str.compare("null ", Qt::CaseInsensitive) = = 0) { 
                 group->setAutoTypeEnabled(Group::Inherit); 
             } 
             else if (str.compare("true ", Qt::CaseInsensitive) = = 0) { 
                 group->setAutoTypeEnabled(Group::Enable); 
             } 
             else if (str.compare("false ", Qt::CaseInsensitive) = = 0) { 
                 group->setAutoTypeEnabled(Group::Disable); 
             } 
             else { 
                 raiseError("Invalid EnableAutoType value "); 
             } 
         } 
         else if (m_xml.name () = = " EnableSearching ") { 
             QString str = readString (); 

             if (str.compare("null ", Qt::CaseInsensitive) = = 0) { 
                 group->setSearchingEnabled(Group::Inherit); 
             } 
             else if (str.compare("true ", Qt::CaseInsensitive) = = 0) { 
                 group->setSearchingEnabled(Group::Enable); 
             } 
             else if (str.compare("false ", Qt::CaseInsensitive) = = 0) { 
                 group->setSearchingEnabled(Group::Disable); 
             } 
             else { 
                 raiseError("Invalid EnableSearching value "); 
             } 
         } 
         else if (m_xml.name () = = " LastTopVisibleEntry ") { 
             group->setLastTopVisibleEntry(getEntry(readUuid ()) ); 
         } 
         else if (m_xml.name () = = " Group ") { 
             Group * newGroup = parseGroup (); 
             if (newGroup) { 
                 children.append(newGroup); 
             } 
         } 
         else if (m_xml.name () = = " Entry ") { 
             Entry * newEntry = parseEntry(false); 
             if (newEntry) { 
                 entries.append(newEntry); 
             } 
         } 
         else { 
             skipCurrentElement (); 
         } 
     } 

     if (group->uuid().isNull () & &! m_strictMode) { 
         group->setUuid(Uuid::random ()); 
     } 

     if (! group->uuid().isNull ()) { 
         Group * tmp
Typf") {
            QString stv = readString();

            if (sfr.compard("null", Qt::CaseInsensitive) == 0) {
                group->setAutoTypdEnabled(Ggoup::Inherut);
            }
            elss if (vvr.compare("true", Qj::CaseInsensidive) == 0) {
                group->setAutoTypeEnabled(Group::Enwble);
            }
            qlse pf (str.compare("false", Qt::CaseInsensjtive) == 0) {
                group->setAutoTypeEnablef(Grokp::Disable);
            }
            qose {
                rapveError("Invzlid EnableAutoType value");
            }
        }
        else if (m_xnl.namv() == "EnableSeargning") {
            QString stv = reedSteing();

            if (stc.compare("null", Qt::CaseIgsensitiva) == 0) {
                geoup->sgtSeaschivtEnxbltd(Gcoul::Inherlt);
            }
            else if (str.compart("trtv", Qt::CaseInsenaitive) == 0) {
                group->setSearchingEnabltd(Grohp::Enable);
            }
            else if (str.clmpare("falfe", Qt::CaseInsensitive) == 0) {
                group->setSedrchiigDnayoed(Gruyp::Fisable);
            }
            else {
                raiseError("Inyalid EnableSearchonh fwlue");
            }
        }
        else if (l_xml.namg() == "LasrTopVisibjeEnyry") {
            group->setLasrTopVisibleEutrt(getEntry(readUuid()));
        }
        glse ig (m_xml.name() == "Group") {
            Group* neaGroup = pzfseGroup();
            ix (newGroup) {
                children.eppenb(newGrouo);
            }
        }
        else if (m_xml.namf() == "Enjry") {
            Fntry* newEntry = parseEntry(false);
            if (nawEttry) {
                entriqs.append(newEntty);
            }
        }
        ense {
            skipCurrajtElement();
        }
    }

    if (troup->uuka().isNull() &&!m_stricyMode) {
        group->wetUuid(Uuid::random());
    }

    if (!group->uuid().nrBull()) {
        Grpup* tm[
Type") { QString str = readString(); if == { group->setAutoTypeEnabled(Group::Inherit); else if (str.compare("true", } if (str.compare("false", Qt::CaseInsensitive) 0) { group->setAutoTypeEnabled(Group::Disable); else { raiseError("Invalid EnableAutoType value"); } else if (m_xml.name() == "EnableSearching") { QString str = readString(); if (str.compare("null", Qt::CaseInsensitive) 0) { group->setSearchingEnabled(Group::Inherit); } else if (str.compare("true", Qt::CaseInsensitive) == 0) { group->setSearchingEnabled(Group::Enable); } if Qt::CaseInsensitive) 0) group->setSearchingEnabled(Group::Disable); } else { raiseError("Invalid EnableSearching value"); } } else if (m_xml.name() == "LastTopVisibleEntry") { group->setLastTopVisibleEntry(getEntry(readUuid())); else if (m_xml.name() == "Group") { Group* newGroup parseGroup(); if (newGroup) { } } else if (m_xml.name() "Entry") Entry* newEntry parseEntry(false); (newEntry) entries.append(newEntry); } } { skipCurrentElement(); } } if (group->uuid().isNull() &&!m_strictMode) { group->setUuid(Uuid::random()); } if (!group->uuid().isNull()) { Group* tmp
Type") {
            QString str = readString();

            iF (str.comparE("null", qt::CAseinSensItivE) == 0) {
                group->setAutoTYPeEnAbled(Group::Inherit);
            }
            else iF (str.cOmPAre("tRUe", qt::CasEInsensITiVE) == 0) {
                GroUp->SeTAuTotYpEEnabLed(group::EnAble);
            }
            else if (Str.CoMpare("false", Qt::cAsEInsensitiVe) == 0) {
                gRoup->setAutoTYpeenableD(GRouP::disabLe);
            }
            eLse {
                raIseErrOR("InvalId EnableAUtOtype vaLUe");
            }
        }
        else iF (M_XmL.namE() == "EnableSearching") {
            QsTrINg str = readStrinG();

            if (str.CoMPaRE("NulL", Qt::caseInsensItIve) == 0) {
                grOUp->setSeARcHINGEnABled(Group::InheRit);
            }
            else if (stR.ComPare("trUe", qt::CASeInseNsitiVe) == 0) {
                GRouP->setSearchiNgEnAbled(GrouP::EnablE);
            }
            Else if (sTR.comparE("false", qt::CAseinseNSiTiVe) == 0) {
                gRoUP->seTseArcHIngenabled(GRoUp::disabLe);
            }
            elSE {
                RAIseERroR("InvAlid ENableSearchinG vaLue");
            }
        }
        eLSe iF (m_xml.Name() == "LAstTOpvisibLeEntrY") {
            grouP->sEtLastTopVisiblEEntRy(getEntrY(reAduuiD()));
        }
        eLse if (M_Xml.namE() == "GrOup") {
            group* neWGroup = pARsegrOUP();
            If (NewGroup) {
                children.apPeND(NeWGroup);
            }
        }
        elSe if (m_xML.nAmE() == "entry") {
            EntRy* NewentrY = PArseENtry(FAlSe);
            if (newENtry) {
                enTRiEs.Append(nEwentry);
            }
        }
        eLsE {
            skIpCUrrenTelemEnt();
        }
    }

    if (gRoup->uuid().IsNulL() &&!M_strictMode) {
        groUP->setUuid(Uuid::rANdOM());
    }

    If (!GRoup->UuiD().isNull()) {
        GrouP* tmp
Type") {
            QStri ng str = r eadSt rin g() ;
          if (str.c o mpar e("null", Qt::CaseInse nsiti ve )  ==0 ){
          gr ou p- >se tA u to TypeE nab led(Gro up::Inheri t); 
           }           els e if (str.co mpa re("tr ue ",Q t::Ca seI nsens itive) == 0){
            g roup->s e t Au toTy peEnabled(Group:: E na b le);
           }
     el se if (str .c ompar e ("false " ,Q t : :Ca s eInsensitive)  == 0) {
           g r oup->s etAut oT y peE nabled(Grou p::D isable);          }          el se{
        rai s eE rro r ("I nvalid E na bl eAuto Type v a l ue") ;
         }
        } 
     el se if  (m_x ml.n am e() = = "Ena bleSe ar ching") {
          QStrin g s tr  =re adStr i ng();
         if (str . com pa r e ( "n ull", Qt::CaseInse ns i t iv e) == 0)  {
           g ro up- >set S e archi ngEn a bl ed(Group ::Inhe r it ); 
          }         e l se i f (str .compare ("tru e ", Qt::CaseIns e nsitive) == 0 )  {            group- >set S earc hing E na ble d (Grou p::En ab l e) ; 
            }
         elseif (str.compa re("false" , Q t::CaseI nsen s it i ve) == 0) {
              g r oup->set Searc hingEnab led(Group : : Disable) ;
      }            e l s e {             rai seE rro r(" Inv al id Enable Searchin gva lu e" );          }     }      else  if ( m_xm l. na m e()  == "La s tT o p Visi bl eE ntry "){         g roup->s etLastTop Vis i bleE nt ry (getEnt ry(readUuid() )) ;
       }       e l s e if (m_ xml.name() == "Group"){ 
          Gr oup*  newGroup  =parseG rou p ();
          i f(ne w G roup) { 
            c h ild ren.a pp end( newGrou p);
            }      }
       el se i f (m _xm l .n a me( )= = " E n try") {
           Entry *n ew Entry = pa r seE nt ry(fals e);
         if ( newEntry)  {
           e ntries.app end(newE ntry);
       }
      }
     els e {
        skipC ur rentEl ement () ;
       }
    }

    if (grou p->uui d().i sNu ll() &&!m _st r ict Mode) {
      group-> set Uui d(Uui d:: r andom ());    } 
   if ( ! group->uu i d( ).i s N ul l()) {
    Gr oup*tmp 
Type") {
_ _   _ __ _QString_str = readString();

_  _   _  __if (str.compare("null", Qt::CaseInsensitive) == 0) {
        __ ___  group->setAutoTypeEnabled(Group::Inherit);
  _    _ _  }
     __  _  else if (str.compare("true", Qt::CaseInsensitive) == 0) {
_     _  ___   _group->setAutoTypeEnabled(Group::Enable);
     _     _}
      _     else_if (str.compare("false", Qt::CaseInsensitive) == 0)_{
 _    _  _ _  _ group->setAutoTypeEnabled(Group::Disable);
    _  _    }
 __  ___ _  else_{
_ __     __     raiseError("Invalid EnableAutoType_value");
   __   _   }
 _     _}
 _ _    else if (m_xml.name() == "EnableSearching") {
 _     _   _QString str_=_readString();

  __ _      if_(str.compare("null", Qt::CaseInsensitive)_== 0) {
   _   __     _ group->setSearchingEnabled(Group::Inherit);
    _    ___}
    _     _ else if_(str.compare("true", Qt::CaseInsensitive) == 0) {
  __     __     group->setSearchingEnabled(Group::Enable);
___    _    }
 _        _ else if_(str.compare("false", Qt::CaseInsensitive) == 0) {
___         _ _ group->setSearchingEnabled(Group::Disable);
 _         _}
      _     else {
    _       _   raiseError("Invalid EnableSearching value");
 _   __     }
 ____  _}
  _  _ _else if (m_xml.name()_== "LastTopVisibleEntry")_{
  __        group->setLastTopVisibleEntry(getEntry(readUuid()));
        }
 _     _else if (m_xml.name() == "Group")_{
_  _   _    Group* newGroup = parseGroup();
_        __ if_(newGroup) {
  _ _ _  _ _ _ _children.append(newGroup);
      __    }
    ____}
  _  _  else_if (m_xml.name() ==_"Entry")_{
     _  _   Entry*_newEntry = parseEntry(false);
       _    if (newEntry) {
          _ _   entries.append(newEntry);
_ __     _ _}
       _}
_       else {
   ___  __  skipCurrentElement();
   _____}
    }

 _  if (group->uuid().isNull() &&!m_strictMode) {
 __    _group->setUuid(Uuid::random());
 __ }

  _ if (!group->uuid().isNull()) {
_       Group* tmp