| 230 | } |
| 231 | |
| 232 | void MainWindowImpl::createContextMenu() |
| 233 | { |
| 234 | treeWidget->setContextMenuPolicy(Qt::ActionsContextMenu); |
| 235 | treeWidget->addAction(actionCheckItems); |
| 236 | treeWidget->addAction(actionCheckAllItems); |
| 237 | treeWidget->addAction(actionUncheckItems); |
| 238 | treeWidget->addAction(actionUncheckAllItems); |
| 239 | addContextMenuSeparator(); |
| 240 | treeWidget->addAction(actionInvertCheckedItems); |
| 241 | addContextMenuSeparator(); |
| 242 | treeWidget->addAction(actionRemoveItems); |
| 243 | treeWidget->addAction(actionRemoveAllItems); |
| 244 | } |
| 245 | |
| 246 | void MainWindowImpl::addContextMenuSeparator() |
| 247 | { |
nothing calls this directly
no outgoing calls
no test coverage detected