[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Finding shortcut
From:       John Tapsell <johnflux () gmail ! com>
Date:       2010-02-01 2:38:08
Message-ID: 43d8ce651001311838p264e904q7d185779cdf58fc4 () mail ! gmail ! com
[Download RAW message or body]

On 31 January 2010 18:45, Michael Jansen <kde@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic