| 123 | |
| 124 | |
| 125 | QString CheckSetSelectionListModel::checkSetSelectionId(const QModelIndex& index) const |
| 126 | { |
| 127 | const int checkSetSelectionIndex = index.row(); |
| 128 | const bool isValidIndex = |
| 129 | (0 <= checkSetSelectionIndex) && (checkSetSelectionIndex < m_checkSetSelections.count()); |
| 130 | |
| 131 | return isValidIndex ? m_checkSetSelections.at(checkSetSelectionIndex).id() : QString(); |
| 132 | } |
| 133 | |
| 134 | QString CheckSetSelectionListModel::checkSetSelectionId(int row) const |
| 135 | { |