MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / removeRows

Method removeRows

src/MacroStepTableModel.cpp:128–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128bool MacroStepTableModel::removeRows(int row, int count, const QModelIndex &parent)
129{
130 Q_UNUSED(parent);
131
132 beginRemoveRows(QModelIndex(), row, row + count - 1);
133
134 macro->getSteps().remove(row, count);
135
136 endRemoveRows();
137
138 return true;
139}
140
141bool MacroStepTableModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild)
142{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected