MCPcopy Create free account
hub / github.com/cc20110101/RedisView / removeRow

Method removeRow

src/RedisView/Model/ValueTableModel.cpp:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143bool ValueTableModel::removeRow(int position)
144{
145 beginRemoveRows(QModelIndex(), position, position);
146 bool success = rootItem->removeChildren(position);
147 endRemoveRows();
148 return success;
149}
150
151bool ValueTableModel::removeItem(ValueTableItem *item)
152{

Callers 2

delHeadMethod · 0.80
delTailMethod · 0.80

Calls 1

removeChildrenMethod · 0.45

Tested by

no test coverage detected