diff -r b26dbb909c4e -r 83773ccf4f09 QTfrontend/team.cpp --- a/QTfrontend/team.cpp Mon Jan 08 21:44:57 2007 +0000 +++ b/QTfrontend/team.cpp Wed Jan 10 23:21:05 2007 +0000 @@ -26,6 +26,9 @@ #include "pages.h" #include "hwconsts.h" +#include +#include + HWTeam::HWTeam(const QString & teamname) : difficulty(0) { @@ -41,6 +44,13 @@ } } +HWTeam::HWTeam(const QStringList& strLst) +{ + if(strLst.size()<9) throw HWTeamConstructException(); + TeamName=strLst[0]; + for(int i = 0; i < 8; i++) HHName[i]=strLst[i+1]; +} + HWTeam::HWTeam(quint8 num) : difficulty(0) {