#ifndef BRCOMPETITION_H #define BRCOMPETITION_H #include #include #include "brwidget.h" #include "brcategory.h" class BRCompetition : public BRWidget { Q_OBJECT public: friend class BRProvider; friend class BRProviderDr; Q_INVOKABLE QString getName(); BRWidget::BRWidgetStatusCode load() override; private: explicit BRCompetition(BRProvider* provider, BRWidget::BRFederation federation, int id); enum BRDiscipline { Boulder, Lead, Speed }; int id; QString name; BRDiscipline discipline; QDate startDate; QDate endDate; QList categories; signals: }; #endif // BRCOMPETITION_H