QTfrontend/team.cpp
changeset 117 d21a48200772
parent 116 00d3d6d2e699
child 128 223522298250
equal deleted inserted replaced
116:00d3d6d2e699 117:d21a48200772
    34 #include <QFile>
    34 #include <QFile>
    35 #include <QTextStream>
    35 #include <QTextStream>
    36 #include <QApplication>
    36 #include <QApplication>
    37 #include "team.h"
    37 #include "team.h"
    38 #include "hwform.h"
    38 #include "hwform.h"
    39 #include "gameuiconfig.h"
       
    40 #include "predefteams.h"
    39 #include "predefteams.h"
    41 #include "pages.h"
    40 #include "pages.h"
    42 #include "hwconsts.h"
    41 #include "hwconsts.h"
    43 
    42 
    44 HWTeam::HWTeam(const QString & teamname)
    43 HWTeam::HWTeam(const QString & teamname)
   206 	}
   205 	}
   207 	#undef ADD
   206 	#undef ADD
   208 	return buf;
   207 	return buf;
   209 }
   208 }
   210 
   209 
       
   210 bool HWTeam::operator==(const HWTeam& t1) const {
       
   211   return TeamName==t1.TeamName;
       
   212 }
       
   213 
       
   214 bool HWTeam::operator<(const HWTeam& t1) const {
       
   215   return TeamName<t1.TeamName;
       
   216 }