app/headers/competition/result/brresultdetailsgeneralresult.h
Dorian Zedler 85c8760bed
- moved some stuff
- results work now (still basic)
2020-11-15 14:48:12 +01:00

29 lines
535 B
C++

#ifndef BRGENERALRESULT_H
#define BRGENERALRESULT_H
#include <QObject>
#include <QDebug>
#include "brresultdetails.h"
class BRResult;
class BRResultDetailsGeneralResult : public BRResultDetails
{
Q_OBJECT
Q_PROPERTY(QList<QObject*> results READ getResultsQML NOTIFY resultsChanged)
public:
BRResultDetailsGeneralResult();
QList<BRResult*> getResults();
QList<QObject*> getResultsQML();
Q_INVOKABLE QString toString() override;
private:
signals:
void resultsChanged();
};
#endif // BRGENERALRESULT_H