From eb61690873e234ea28a3f437fb7211c773a449fe Mon Sep 17 00:00:00 2001 From: Orangerot Date: Fri, 16 Aug 2024 07:06:05 +0200 Subject: feat(EventInfo): display EventInfo with List of Competitors --- src/model/EventInfo.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/model/EventInfo.cpp (limited to 'src/model/EventInfo.cpp') 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 +#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 EventInfo::competitors() const { + return m_competitors; +} + +void EventInfo::setCompetitors(const QList &newCompetitors) { + m_competitors = newCompetitors; +} + -- cgit v1.2.3