| 31 | MarkerModel::MarkerModel(Context* c, MovieFile* m, QObject *parent) : QAbstractTableModel(parent), context(c), movie(m) {} |
| 32 | |
| 33 | int MarkerModel::rowCount(const QModelIndex & /*parent*/) const |
| 34 | { |
| 35 | return movie->editor->markers.size(); |
| 36 | } |
| 37 | |
| 38 | int MarkerModel::columnCount(const QModelIndex & /*parent*/) const |
| 39 | { |