MCPcopy Create free account
hub / github.com/KDE/kdevelop / setData

Method setData

kdevplatform/debugger/breakpoint/breakpointmodel.cpp:533–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533bool 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
543void BreakpointModel::updateErrorText(int row, const QString& errorText)
544{

Callers 1

Calls 6

isValidMethod · 0.45
parentMethod · 0.45
rowMethod · 0.45
countMethod · 0.45
atMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected