| 460 | } |
| 461 | |
| 462 | int TimerModel::rowCount(const QModelIndex &parent) const |
| 463 | { |
| 464 | Q_UNUSED(parent); |
| 465 | if (!m_sourceModel || parent.isValid()) |
| 466 | return 0; |
| 467 | return m_sourceModel->rowCount() + m_freeTimersInfo.size(); |
| 468 | } |
| 469 | |
| 470 | QVariant TimerModel::data(const QModelIndex &index, int role) const |
| 471 | { |
no test coverage detected