[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Small feature request about KAccel
From: Sirtaj Singh Kang <ssk () physics ! unimelb ! edu ! au>
Date: 1999-05-25 4:24:11
[Download RAW message or body]
On Mon, 24 May 1999, David Faure wrote:
[snip]
> Why not store the QPopupMenu * and the id together with the action, in
> order to update the menu item when the action key is updated ?
>
> For heaviness reduction, insertItem and connectItem could even be merged
> IMHO. (or connectItem could stay, but connect to the slot AND to the
> popupmenu).
KAction does this. Also, enabling/disabling the action enables/disables
all connected menu items and buttons. Additionally, KUIActions converts
the action accelerator into a QAccel if no menu item is connected to the
action. I intend for KAction and KUIActions (for handling multiple
actions) to replace KAccel.
-Taj.
Sirtaj S. Kang taj@kde.org ssk@physics.unimelb.edu.au
Univ of Melbourne
"I'm a commercial operating system."
-Doug Michels (CEO SCO)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic