MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / isModifier

Method isModifier

widgets/hotkeywidget.cpp:147–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147bool HotkeyWidget::isModifier(int key) const
148{
149 switch (key) {
150 case Qt::Key_Shift:
151 case Qt::Key_Control:
152 case Qt::Key_Meta:
153 case Qt::Key_Alt:
154 case Qt::Key_AltGr:
155 case Qt::Key_Super_L:
156 case Qt::Key_Super_R:
157 case Qt::Key_Menu:
158 return true;
159 }
160
161 return false;
162}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected