PATCH: KLineEdit squeezed behavior

Dawit A. adawit at kde.org
Sat Jan 10 08:33:44 GMT 2004


Hi,

The following patch addresses two issues:

- Calling text() or displayText() after the text is squeezed returns the 
squeezed text instead of the full text. The patch attempts to fix that by 
overriding the base class implementation of these two functions to ensure the 
full text is returned under all circumstances.

- It makes the call to setSqueezedText(...) behave as if the programmer had 
called setEnabledSqueezedText(...) and setText(...). This makes the behavior 
consistent with what was in 3.1.

-- 
Regards,
Dawit A.
"Preach what you practice, practice what you preach"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klineedit-20040110.diff
Type: text/x-diff
Size: 2407 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040110/d17d54a1/attachment.diff>


More information about the kde-core-devel mailing list