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