Finding shortcut

John Tapsell johnflux at gmail.com
Mon Feb 1 02:38:08 GMT 2010


On 31 January 2010 18:45, Michael Jansen <kde at michael-jansen.biz> wrote:
> On Sunday 31 January 2010 19:06:37 Aaron J. Seigo wrote:
>> On January 29, 2010, John Tapsell wrote:
>> > Hi all,
>> >
>> >   Programmatically, I want to find out what the shortcut is for the
>> >
>> > global "Kill Window" shortcut (usually assigned to ctrl+alt+esc).  How
>> > do I do this?
>> >
>> >   It looks like I need a new function added to KGlobalShortcut to
>> >
>> > return a QKeySequence for a given action name.  Does this sound
>> > correct?
>
> Yes and no.  Depends on your use case. I prefer to hear about the thing you want to achieve instead
> of what you think the solution is.

In System Activity (aka ksysguard)  you can select a process and press
the "Kill" button to kill that process.
I would like the tooltip to say "You can target a window to kill at
any time by pressing ctrl+alt+esc".

That's the usecase.

John




More information about the kde-core-devel mailing list