| 155 | } |
| 156 | |
| 157 | QModelIndex BanTableModel::index(int row, int column, const QModelIndex &parent) const |
| 158 | { |
| 159 | Q_UNUSED(parent); |
| 160 | CCombinedBan *data = priv->index(row); |
| 161 | |
| 162 | if (data) |
| 163 | return createIndex(row, column, data); |
| 164 | return QModelIndex(); |
| 165 | } |
| 166 | |
| 167 | void BanTableModel::refresh() |
| 168 | { |