Remove all items
| 121 | |
| 122 | //! Remove all items |
| 123 | void removeAllItems() |
| 124 | { |
| 125 | for (auto& item : mItems) |
| 126 | { |
| 127 | BasePanelViewCell* cell = item->getPanelCell(); |
| 128 | item->_shutdown(); |
| 129 | delete cell; |
| 130 | } |
| 131 | mItems.clear(); |
| 132 | setNeedUpdate(); |
| 133 | } |
| 134 | |
| 135 | void updateView() |
| 136 | { |
nothing calls this directly
no test coverage detected