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

List:       kde-core-devel
Subject:    RE: KActions...
From:       Simon Hausmann <shaus () helios ! med ! Uni-Magdeburg ! DE>
Date:       2000-03-28 12:41:08
[Download RAW message or body]



On Tue, 28 Mar 2000, Simon Hausmann wrote:

> I don't know, but perhaps the solution here is to use the
> getToolButtonId() method in kaction.cpp for both cases, when plugging an
> action into a QPopupMenu and when plugging into a KToolBar.

Sorry for replying to my on posting, but I just realized that it doesn't
work. We can only specify ids >=0 for menu items (<0 will result in a
get_seq_id() call) . And ids >=0 are likely to become duplicate when
people mix "manual" insertItem calls and plug()'s on a popupmenu.


Bye,
 Simon

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

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