MCPcopy Create free account
hub / github.com/davy7125/polyphone / foreach

Function foreach

sources/editor/editor.cpp:92–105  ·  view source on GitHub ↗

Reactions

Source from the content-addressed store, hash-verified

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)));

Callers

nothing calls this directly

Calls 7

EltIDClass · 0.85
addRangeAndRootKeyMethod · 0.80
getKeyboardMethod · 0.80
containsMethod · 0.80
addCurrentRangeMethod · 0.80
isSetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected