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

Method insertRow

src/RedisView/Model/ValueTableModel.cpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128bool ValueTableModel::insertRow(ValueTableItem *item) {
129 beginInsertRows(QModelIndex(), rootItem->childCount(), rootItem->childCount());
130 bool success = rootItem->insertChildren(rootItem->childCount(), item);
131 endInsertRows();
132 return success;
133}
134
135bool ValueTableModel::insertRow(int position, ValueTableItem * &item)
136{

Callers

nothing calls this directly

Calls 2

insertChildrenMethod · 0.80
childCountMethod · 0.45

Tested by

no test coverage detected