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

Method slotWindowStateChanged

src/frontend/core/ContentDockWidget.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void ContentDockWidget::slotWindowStateChanged(Qt::WindowStates /*oldState*/, Qt::WindowStates newState) {
66 if (m_closing)
67 return;
68
69 if (newState.testFlag(Qt::WindowActive) || newState.testFlag(Qt::WindowMaximized))
70 m_part->registerShortcuts();
71 else
72 m_part->unregisterShortcuts();
73}

Callers

nothing calls this directly

Calls 2

registerShortcutsMethod · 0.45
unregisterShortcutsMethod · 0.45

Tested by

no test coverage detected