summaryrefslogtreecommitdiff
path: root/src/model/EventInfo.cpp
blob: fef0fba5716a0407935f011d61a428551abb52e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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;
}