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

27 lines
526 B
C++

#ifndef BRRESULTDETAILSUNKNOWN_H
#define BRRESULTDETAILSUNKNOWN_H
#include <QObject>
#include "brresultdetails.h"
class BRResultDetailsUnknown : public BRResultDetails
{
Q_OBJECT
Q_PROPERTY(QString score READ toString NOTIFY metadataChanged())
public:
BRResultDetailsUnknown(QString score);
Q_INVOKABLE QString toString() {
return this->score;
}
private:
QString score;
BRDiscipline getType() {
return BRWidget::UnknownDiscipline;
}
};
#endif // BRRESULTDETAILSUNKNOWN_H