MCPcopy Create free account
hub / github.com/KDE/labplot / setSelected

Method setSelected

src/backend/core/AbstractAspect.cpp:1098–1103  ·  view source on GitHub ↗

! * this function is called when the selection in ProjectExplorer was changed. * forwards the selection/deselection to the parent aspect via emitting a signal. */

Source from the content-addressed store, hash-verified

1096 * forwards the selection/deselection to the parent aspect via emitting a signal.
1097 */
1098void AbstractAspect::setSelected(bool s) {
1099 if (s)
1100 Q_EMIT selected(this);
1101 else
1102 Q_EMIT deselected(this);
1103}
1104
1105void AbstractAspect::childSelected(const AbstractAspect* aspect) {
1106 // forward the signal to the highest possible level in the parent-child hierarchy

Callers 15

navigateToMethod · 0.45
selectionChangedMethod · 0.45
loadMethod · 0.45
updateCategoriesMethod · 0.45
setDatasetMethod · 0.45
openFileMethod · 0.45
selectAllElementsMethod · 0.45
selectItemMethod · 0.45
deselectItemMethod · 0.45
processDropEventMethod · 0.45
parseExtensionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected