20 lines
466 B
C++
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
|
|
}
|