| 317 | } |
| 318 | |
| 319 | int VersionProxyModel::rowCount(const QModelIndex &parent) const |
| 320 | { |
| 321 | if(sourceModel()) |
| 322 | { |
| 323 | return sourceModel()->rowCount(); |
| 324 | } |
| 325 | return 0; |
| 326 | } |
| 327 | |
| 328 | void VersionProxyModel::sourceDataChanged(const QModelIndex &source_top_left, |
| 329 | const QModelIndex &source_bottom_right) |