diff options
Diffstat (limited to 'src/model/EventInfo.cpp')
-rw-r--r-- | src/model/EventInfo.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/model/EventInfo.cpp b/src/model/EventInfo.cpp new file mode 100644 index 0000000..e9ecd46 --- /dev/null +++ b/src/model/EventInfo.cpp @@ -0,0 +1,22 @@ +#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; +} + |