From 88b1b119dfa35f36b64d81dbe6c84f46d86455c5 Mon Sep 17 00:00:00 2001 From: Steru Date: Fri, 16 Aug 2024 22:19:42 +0200 Subject: Compacted competitors into one object, deleted API class (now in sportmodel). --- src/model/EventInfo.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/model/EventInfo.cpp') diff --git a/src/model/EventInfo.cpp b/src/model/EventInfo.cpp index e9ecd46..fef0fba 100644 --- a/src/model/EventInfo.cpp +++ b/src/model/EventInfo.cpp @@ -1,22 +1,21 @@ -#include #include "EventInfo.h" EventInfo::EventInfo(QObject *parent) : QObject(parent) { } QString EventInfo::eventName() const { - return m_eventName; + return this->m_eventName; } void EventInfo::setEventName(const QString &newEventName) { m_eventName = newEventName; } -QList EventInfo::competitors() const { +QList EventInfo::competitors() const { return m_competitors; } -void EventInfo::setCompetitors(const QList &newCompetitors) { - m_competitors = newCompetitors; +void EventInfo::setCompetitors(const QList &newCompetitors) { + this->m_competitors = newCompetitors; } -- cgit v1.2.3