MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / swapSwitchData

Method swapSwitchData

lib/legacy/switch-executable.cpp:252–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252void ExecutableSwitchWidget::swapSwitchData(ExecutableSwitchWidget *s1,
253 ExecutableSwitchWidget *s2)
254{
255 SwitchWidget::swapSwitchData(s1, s2);
256
257 ExecutableSwitch *t = s1->getSwitchData();
258 s1->setSwitchData(s2->getSwitchData());
259 s2->setSwitchData(t);
260}
261
262void ExecutableSwitchWidget::ProcessChanged(const QString &text)
263{

Callers

nothing calls this directly

Calls 2

getSwitchDataMethod · 0.45
setSwitchDataMethod · 0.45

Tested by

no test coverage detected