| 226 | } |
| 227 | |
| 228 | void ResetModel() |
| 229 | { |
| 230 | emit beginResetModel(); |
| 231 | emit endResetModel(); |
| 232 | |
| 233 | m_Nodes.clear(); |
| 234 | m_RowInParentCache.clear(); |
| 235 | m_MessageCounts.clear(); |
| 236 | m_EIDNameCache.clear(); |
| 237 | m_Actions.clear(); |
| 238 | m_Chunks.clear(); |
| 239 | m_Times.clear(); |
| 240 | |
| 241 | if(!m_Ctx.CurRootActions().empty()) |
| 242 | m_Nodes[0] = CreateActionNode(NULL); |
| 243 | |
| 244 | m_CurrentEID = createIndex(0, 0, TagCaptureStart); |
| 245 | |
| 246 | m_Bookmarks.clear(); |
| 247 | m_BookmarkIndices.clear(); |
| 248 | |
| 249 | m_FindResults.clear(); |
| 250 | m_FindString.clear(); |
| 251 | m_FindEIDSearch = false; |
| 252 | |
| 253 | RefreshCache(); |
| 254 | } |
| 255 | |
| 256 | void RefreshCache() |
| 257 | { |
no test coverage detected