| 281 | } |
| 282 | |
| 283 | int VarTableModel::columnCount(const QModelIndex &parent) const { |
| 284 | if (parent.isValid()) { |
| 285 | return 0; |
| 286 | } |
| 287 | return VAR_NUM_COLS; |
| 288 | } |
| 289 | |
| 290 | VarTableSortFilterModel::VarTableSortFilterModel(VarTableModel *parent) : QSortFilterProxyModel(parent), typeFilter(-1) { |
| 291 | setSourceModel(parent); |
nothing calls this directly
no outgoing calls
no test coverage detected