I am using KDE and I want to:
- Reassign global shortcut Win+L to lock screen.
- Set Win+T to launch terminal.
I was able to do #1 directly changing kblobalaccel config file. But this is hack and #2 is still unsolved.
How do i do this via D-Bus or PyKDE4?
When i add Win+L via system settings, it says that this shortcut is already assigned to a Kwin action and allows me to use this shortcut anyway. So the solution should take this into account.

org.kde.kglobalaccel(seed-feet) or https://api.kde.org/frameworks/kglobalaccel/html/index.html – user.dz Jul 08 '16 at 23:07