| 481 | } |
| 482 | |
| 483 | void ResourceFolderModel::enableInteraction(bool enabled) |
| 484 | { |
| 485 | if (m_can_interact == enabled) |
| 486 | return; |
| 487 | |
| 488 | m_can_interact = enabled; |
| 489 | if (size()) |
| 490 | emit dataChanged(index(0), index(size() - 1)); |
| 491 | } |
| 492 | |
| 493 | /* Standard Proxy Model for createFilterProxyModel */ |
| 494 | [[nodiscard]] bool ResourceFolderModel::ProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const |