[PATCH] Make Enter/Return emit executed() in KListView

Oswald Buddenhagen ossi at kde.org
Thu Sep 19 18:42:03 BST 2002


On Thu, Sep 19, 2002 at 10:23:51AM -0700, Ryan Cumming wrote:
> Ugh, QKeyEvent didn't mention that.
> 
docs never mention the interesting stuff. :)

> Is this version okay to commit?
> 
i doubt it. to be precise, i don't even understand it.
this is the code that was quite a while in kdm until it got obsoleted:
        if ( ( e->state() == 0 &&
               ( e->key() == Key_Enter || e->key() == Key_Return ) ) ||
             ( e->state() & Keypad && e->key() == Key_Enter ) ) {

don't ask me for the details. just look through qdialog, i think. :)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list