| 408 | } |
| 409 | |
| 410 | QMap<int, QVariant> PaintBufferModel::itemData(const QModelIndex &index) const |
| 411 | { |
| 412 | QMap<int, QVariant> d = QAbstractItemModel::itemData(index); |
| 413 | d.insert(PaintBufferModelRoles::MaxCostRole, data(index, PaintBufferModelRoles::MaxCostRole)); |
| 414 | d.insert(PaintBufferModelRoles::ObjectIdRole, data(index, PaintBufferModelRoles::ObjectIdRole)); |
| 415 | return d; |
| 416 | } |
| 417 | |
| 418 | int PaintBufferModel::columnCount(const QModelIndex &parent) const |
| 419 | { |
no test coverage detected