[Kde-games-devel] Re: Porting, KAccel

Andreas Beckermann kde-games-devel@mail.kde.org
Fri, 19 Apr 2002 23:27:00 +0200


On Friday 19 April 2002 21:48, jason@katzbrown.com wrote:
> Quoting thomas.friedrichsmeier@ruhr-uni-bochum.de:
>
> [snip about the difficulty of having configurable key bindings and getting
> the key id from them]
>
> Perhaps somebody should write KGameShortcuts for libkdegames? this
> would keep the QMap of names/shortcuts, have a configure() method to
> pop up the modal key-config dialog, and a findKey() that one can pass e->
> key to to get the name of the key pressed.
>
> I could do this, for I need it in Kolf too. Any comments?
>
> Thanks,
> Jason

Well as I'll need it soon, too I am in favor of it. But why is a configure() 
method necessary? Can't we simply use KKeyDialog::configure() ?

CU
Andi