itat_challenge/src/model/EventInfo.cpp

22 lines
445 B
C++

#include "EventInfo.h"
EventInfo::EventInfo(QObject *parent) : QObject(parent) {
}
QString EventInfo::eventName() const {
return this->m_eventName;
}
void EventInfo::setEventName(const QString &newEventName) {
m_eventName = newEventName;
}
QList<Competitor*> EventInfo::competitors() const {
return m_competitors;
}
void EventInfo::setCompetitors(const QList<Competitor*> &newCompetitors) {
this->m_competitors = newCompetitors;
}