From kde-core-devel Tue Nov 30 16:26:14 1999 From: Kurt Granroth Date: Tue, 30 Nov 1999 16:26:14 +0000 To: kde-core-devel Subject: Re: KAction and KAccel X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94397922516574 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? Well.. the rationale for doing it this way is so that we don't have to write another key config dialog for KAction AND so that we can share the key config files between kaccel and kaction. However, it's hacky and ugly. If you can think of a better way, then we should definitely go with that... -- Kurt Granroth | http://www.pobox.com/~kurt_granroth KDE Developer/Evangelist | SuSE Labs Open Source Developer granroth@kde.org | granroth@suse.com KDE -- Putting a Friendly Face on Unix