MCPcopy Create free account
hub / github.com/Sonic-DE/sonic-win / startMouseInterception

Method startMouseInterception

src/effect/effecthandler.cpp:469–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469void EffectsHandler::startMouseInterception(Effect *effect, Qt::CursorShape shape)
470{
471 if (m_grabbedMouseEffects.contains(effect)) {
472 return;
473 }
474 m_grabbedMouseEffects.append(effect);
475 if (m_grabbedMouseEffects.size() != 1) {
476 return;
477 }
478 doStartMouseInterception(shape);
479}
480
481void EffectsHandler::doStartMouseInterception(Qt::CursorShape shape)
482{

Callers 1

startInternalMethod · 0.80

Calls 3

appendMethod · 0.80
containsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected