setDefaultShortcutContext in KActionCollection (was: Re: [Konsole-devel] [PATCH] Shortcuts with hidden menu bar)

Thomas Zander zander at kde.org
Sat Jul 28 08:13:48 BST 2007


On Wednesday 25 July 2007 15:41:25 Robin Stocker wrote:
> So, with setDefaultShortcutContext removed, what is the suggested way
> to get the previous behaviour?

Set it on the actions individually;  remember the default is a 
Qt::WindowShortcut so it works for you out of the box. But basically if 
you need it changed, then do it on your own.  KActionCollection is 
keeping its hands off of that option.
Which I think is correct; its just a collection afterall.

-- 
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070728/f815ed64/attachment.sig>


More information about the kde-core-devel mailing list