| 14 | #include <QPushButton> |
| 15 | |
| 16 | SubmoduleTableModel::SubmoduleTableModel(const git::Repository &repo, |
| 17 | QObject *parent) |
| 18 | : QAbstractTableModel(parent), mSubmodules(repo.submodules()), mRepo(repo) { |
| 19 | } |
| 20 | |
| 21 | int SubmoduleTableModel::rowCount(const QModelIndex &parent) const { |
| 22 | return mSubmodules.count(); |
nothing calls this directly
no test coverage detected