Logo Search packages:      
Sourcecode: fet version File versions

void Rules::sortSubgroupsAlphabetically ( const QString &  yearName,
const QString &  groupName 
)

A function to sort the subgroups of this group alphabetically

Definition at line 1391 of file rules.cpp.

References internalStructureComputed, and yearsList.

{
      StudentsYear* sty;
      for(sty=this->yearsList.first(); sty; sty=this->yearsList.next())
            if(sty->name==yearName)
                  break;
      assert(sty);

      StudentsGroup* stg;
      for(stg=sty->groupsList.first(); stg; stg=sty->groupsList.next())
            if(stg->name==groupName)
                  break;
      assert(stg);
      
      stg->subgroupsList.sort();
      
      this->internalStructureComputed=false;
}     


Generated by  Doxygen 1.6.0   Back to index