| 53 | } |
| 54 | |
| 55 | void PlaceholderItemProxyModel::setColumnHint(int column, const QVariant& hint) |
| 56 | { |
| 57 | Q_D(PlaceholderItemProxyModel); |
| 58 | |
| 59 | if (column < 0) { |
| 60 | return; |
| 61 | } |
| 62 | |
| 63 | d->m_columnHints[column] = hint; |
| 64 | |
| 65 | const int row = d->sourceRowCount(); |
| 66 | emit dataChanged(index(row, 0), index(row, columnCount())); |
| 67 | } |
| 68 | |
| 69 | Qt::ItemFlags PlaceholderItemProxyModel::flags(const QModelIndex& index) const |
| 70 | { |
no test coverage detected