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