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

List:       kde-devel
Subject:    Re: KPasswordEdit support for Ctrl-U [PATCH]
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2001-07-28 23:23:10
[Download RAW message or body]

> Better :-) Wouldn't it be easier to override QLineEdit::event(QEvent *) 
> though? Instead of the event filter...
> 
i'm wondering, what kind of voodoo he is doing at all ...

KPasswordEdit has a completely independent keyboard handling; it's
unable to understand anything except adding new chars at the end,
backspace, accepting the input and aborting. actually the remaining
unhandled keypresses are ignore()d, but letting qlineedit actually
process them causes only havoc, as kpasswordedit has an own input
buffer. the presented patch handles only the one special case in a
very hacky way - definitely not the right solution (tm).

i hope this comment makes some sense ... :)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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