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

List:       kde-core-devel
Subject:    Re: KActionCollection setAssociatedWidget problems
From:       Hamish Rodda <rodda () kde ! org>
Date:       2007-10-22 10:56:10
Message-ID: 200710222056.12608.rodda () kde ! org
[Download RAW message or body]


On Mon, 22 Oct 2007 08:34:20 pm Thomas Zander wrote:
> On Monday 22 October 2007 10:59:06 David Faure wrote:
> > I know that I fixed a bug in konqpopupmenu where a call to
> > setAssociatedWidget made all actions be plugged twice into the menu. [and
> > this was really not obvious from the code]
> >
> > Somehow, the automatic setting of the shortcut context would be good to
> > have, but the automatic addAction seems very confusing; especially since
> > for popup menus you usually add actions yourself, and for the rest we use
> > XMLGUI -- or what do I miss here?
>
> I found this bug;
> http://trolltech.com/developer/task-tracker/index_html?method=entry&id=1416
>46
>
> which is fixed for Qt4.4 by adding an enum value;
> Qt::WidgetWithChildrenShortcut which seems to me to be the most sane
> default for KActionCollection. (and is most like what we were used to in
> Qt3)

Yes, I submitted that bug, it's great to see it implemented :)  We should 
definitely use it when available.

Cheers,
Hamish

["signature.asc" (application/pgp-signature)]

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

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