Reactions
| 90 | |
| 91 | // Reactions |
| 92 | foreach (Page * page, pages) |
| 93 | { |
| 94 | // When the selection changed in the tree |
| 95 | connect(page, SIGNAL(selectedIdsChanged(IdList)), ui->treeView, SLOT(onSelectionChanged(IdList))); |
| 96 | |
| 97 | // When "space" is pressed in the tree |
| 98 | connect(ui->treeView, SIGNAL(spacePressed()), page, SLOT(onSpacePressed())); |
| 99 | |
| 100 | // When the rootkey of a sample changed |
| 101 | connect(page, SIGNAL(rootKeyChanged(int)), this, SLOT(onRootKeyChanged(int))); |
| 102 | |
| 103 | // When a page is hidden |
| 104 | connect(page, SIGNAL(pageHidden()), this, SLOT(onPageHidden())); |
| 105 | } |
| 106 | |
| 107 | // Propagation of the selection |
| 108 | connect(ui->footerSf2, SIGNAL(selectedIdsChanged(IdList)), ui->treeView, SLOT(onSelectionChanged(IdList))); |
nothing calls this directly
no test coverage detected