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

Method removeChildren

src/RedisView/Model/KeyTreeItem.cpp:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103bool KeyTreeItem::removeChildren(int position, int count)
104{
105 if (position < 0 || position + count > childItems.size())
106 return false;
107
108 for (int row = 0; row < count; ++row)
109 delete childItems.takeAt(position);
110
111 return true;
112}
113
114bool KeyTreeItem::setData(int column, const QVariant &value)
115{

Callers 2

removeRowMethod · 0.45
removeRowsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected