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

Method isValid

widgets/hotkeywidget.cpp:135–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135bool HotkeyWidget::isValid(int key) const
136{
137 switch (key) {
138 case 0:
139 case Qt::Key_Escape:
140 case Qt::Key_unknown:
141 return false;
142 }
143
144 return !isModifier(key);
145}
146
147bool HotkeyWidget::isModifier(int key) const
148{

Callers 5

applySettingsMethod · 0.80
iconMethod · 0.80
verifyMethod · 0.80
grabRectMethod · 0.80
mouseMoveEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected