DataQualityModelDecorator.cpp Example File
listdecorators/src/DataQualityModelDecorator.cpp
#include "DataQualityModelDecorator.hpp"
DataQualityModelDecorator::DataQualityModelDecorator(QObject* parent)
: bb::cascades::datamanager::DataModelDecorator(parent)
{
}
DataQualityModelDecorator::~DataQualityModelDecorator() {
}
QString DataQualityModelDecorator::itemType(const QVariantList& indexPath) {
QVariant data = bb::cascades::datamanager::DataModelDecorator::data(
indexPath);
if (data.isValid()) {
return QString("dataQualityDecorated");
}
return QString("");
}