3 Match::Match(QString hometeam, QString awayteam, QObject *parent) :
9 m_awayEmblem = getEmblemByName(awayteam);
10 m_homeEmblem = getEmblemByName(hometeam);
13 QIcon Match::getEmblemByName(QString team)
17 i = QIcon(":/Icons/Frankfurt.png");
21 void Match::setScore(int home, int away)
25 if (m_homescore != home) {
30 if (m_awayscore != away) {
36 emit scoreChanged(home, away);