| 531 | } |
| 532 | |
| 533 | bool KDevelop::BreakpointModel::setData(const QModelIndex& index, const QVariant& value, int role) |
| 534 | { |
| 535 | Q_D(const BreakpointModel); |
| 536 | |
| 537 | if (!index.parent().isValid() && index.row() < d->breakpoints.count() && (role == Qt::EditRole || role == Qt::CheckStateRole)) { |
| 538 | return d->breakpoints.at(index.row())->setData(index.column(), value); |
| 539 | } |
| 540 | return false; |
| 541 | } |
| 542 | |
| 543 | void BreakpointModel::updateErrorText(int row, const QString& errorText) |
| 544 | { |