app/sources/brcategory.cpp
Dorian Zedler c44380d1bf
Many more implementations!
Calendar works now for VL and DR API
2020-11-03 15:56:43 +01:00

20 lines
466 B
C++

#include "../headers/brcategory.h"
BRCategory::BRCategory(BRProvider* provider, BRWidget::BRFederation federation, int id, BRCategoryData initialData) : BRWidget(provider, federation), id(id)
{
this->setData(initialData);
}
QString BRCategory::getName() {
return this->name;
}
void BRCategory::setData(BRCategoryData data) {
this->name = data.name;
emit this->metadataChanged();
}
BRWidget::BRWidgetStatusCode BRCategory::load() {
// TODO
}