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

List:       kde-core-devel
Subject:    Re: KAction and KAccel
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       1999-11-30 17:05:10
[Download RAW message or body]



Waldo Bastian wrote:
> 
> > Sirtaj Singh Kang wrote:
> > > On Tue, Nov 30, 1999 at 08:05:29AM -0700, Kurt Granroth wrote:
> > > > I'm investigating the possibility of hacking some code to let KAccel
> > > > and KAction "know" about each other.. but I would have to convert
> > > > KAccel to a QObject (and add a signal) and add quite a few new
> > >
> > > This seems like the wrong approach to me. A KAccel should simply be a special
> > > case of an action, ie is not connected to any visual interface elements.
> > > Are there any differences that I've missed?
> 
> Yes. The accel should shown up in the menu. So the KAction should have
> some knowledge about KAccels to be able to provide a menu-option with
> the desired information.

Wouldn't that happen anyway when the Kaction was added to the menu? I
don't see how this changes anything.

Rich.

> 
> Cheers,
> Waldo

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

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

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