| 279 | } |
| 280 | |
| 281 | int VersionProxyModel::rowCount(const QModelIndex &parent) const |
| 282 | { |
| 283 | if(sourceModel()) |
| 284 | { |
| 285 | return sourceModel()->rowCount(); |
| 286 | } |
| 287 | return 0; |
| 288 | } |
| 289 | |
| 290 | void VersionProxyModel::sourceDataChanged(const QModelIndex &source_top_left, |
| 291 | const QModelIndex &source_bottom_right) |