| 101 | } |
| 102 | |
| 103 | bool 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 | |
| 114 | bool KeyTreeItem::setData(int column, const QVariant &value) |
| 115 | { |
no outgoing calls
no test coverage detected