Skip to content
Commit c121253d authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment