| 310 | } |
| 311 | |
| 312 | int TemplateListModel::rowCount(const QModelIndex& parent) const { |
| 313 | Q_UNUSED(parent); |
| 314 | return mFiles.count(); |
| 315 | } |
| 316 | |
| 317 | QVariant TemplateListModel::data(const QModelIndex& index, int role) const { |
| 318 | const int row = index.row(); |