QTfrontend/team.cpp
changeset 117 d21a48200772
parent 116 00d3d6d2e699
child 128 223522298250
--- a/QTfrontend/team.cpp	Fri Aug 18 19:59:16 2006 +0000
+++ b/QTfrontend/team.cpp	Fri Aug 18 20:37:50 2006 +0000
@@ -36,7 +36,6 @@
 #include <QApplication>
 #include "team.h"
 #include "hwform.h"
-#include "gameuiconfig.h"
 #include "predefteams.h"
 #include "pages.h"
 #include "hwconsts.h"
@@ -208,3 +207,10 @@
 	return buf;
 }
 
+bool HWTeam::operator==(const HWTeam& t1) const {
+  return TeamName==t1.TeamName;
+}
+
+bool HWTeam::operator<(const HWTeam& t1) const {
+  return TeamName<t1.TeamName;
+}