scripting: Introduce ShortcutHandler
The ShortcutHandler type provides scripts QML idiomatic way to register global shortcuts. There's one caveat about this API though. Since KGlobalAccel does not allow to change the shortcut by repeating KGlobalAccel::setShortcut(), the ShortcutHandler requires the default shortcut to be set before it's constructed.
parent
c1919020
Please register or sign in to comment