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

List:       kde-devel
Subject:    Re: Global accel key
From:       aleXXX <alexander.neundorf () gmx ! net>
Date:       2002-07-03 22:51:57
[Download RAW message or body]

On Thursday 04 July 2002 02:21, Johnny A wrote:
> Hi. I want to use a global keyboard shortcut for a function in my program.
> Nothing fancy, just have  a slot called when  the user presses the shortcut
> no matter what program he's working in. I've had a look at KAccel,
> KGlobalAccel and friends, but frankly, I'm a bit confused. :)
>
> Guess this is a 1-liner, anyone wanna help me?

Use KGlobalAccel, addShortCut() and updateConnections() afterwards. For more 
see the docs.

Bye
Alex
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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