Allow global shortcuts to distinguish between key press and key repeat, and to ignore the latter
Part of plasma/plasma-desktop#149.
This merge request adds a new globalShortcutHeld signal to the org.kde.kglobalaccel.Component D-Bus interface. This allows kglobalaccel to distinguish between a shortcut just being pressed and a shortcut being held down.
The goal of this MR is to allow a kwin effect to ignore key repeat by setting its QAction's autoRepeat to false. I'm using this in the kwin color inversion effect to prevent users from being able to constantly flash the screen.
Related MRs:
Edited by Nate Graham