itat_challenge/src/model/EventInfo.cpp

23 lines
444 B
C++
Raw Normal View History

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