23 lines
444 B
C++
23 lines
444 B
C++
|
#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;
|
||
|
}
|
||
|
|