2024-08-16 07:06:05 +02:00
|
|
|
#include "EventInfo.h"
|
|
|
|
|
|
|
|
EventInfo::EventInfo(QObject *parent) : QObject(parent) {
|
|
|
|
}
|
|
|
|
|
|
|
|
QString EventInfo::eventName() const {
|
2024-08-16 22:19:42 +02:00
|
|
|
return this->m_eventName;
|
2024-08-16 07:06:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void EventInfo::setEventName(const QString &newEventName) {
|
|
|
|
m_eventName = newEventName;
|
|
|
|
}
|
|
|
|
|
2024-08-16 22:19:42 +02:00
|
|
|
QList<Competitor*> EventInfo::competitors() const {
|
2024-08-16 07:06:05 +02:00
|
|
|
return m_competitors;
|
|
|
|
}
|
|
|
|
|
2024-08-16 22:19:42 +02:00
|
|
|
void EventInfo::setCompetitors(const QList<Competitor*> &newCompetitors) {
|
|
|
|
this->m_competitors = newCompetitors;
|
2024-08-16 07:06:05 +02:00
|
|
|
}
|
|
|
|
|