KLineEdit/QLineEdit problem with reimplemented methods

Kevin Krammer kevin.krammer at gmx.at
Sun Dec 9 21:53:43 GMT 2007

Hi all,

I am currently debugging a problem in KMail where pasting "obfusicated" mail 
addresses, e.g. "kevin dot krammer at gmx dot at" are no longer converted 
into their clear form.

AddresseeLineEdit from kdepim/libkdepim/ basically does this (or has done 
this) by parsing the text in AddresseeLineEdit::insert()

Infortunately this method, and other such as setText, seem to be no longer be 
virtual, thus the paste calls Qt's implementation only.

Any idea how this could be ported to Qt4?

There is probably a reason why all those setters are no longer virtuals.


P.S. Interestingly KLineEdit::setText() is virtual

Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071209/4ef88db3/attachment.sig>

More information about the kde-core-devel mailing list