PATCH: KLineEdit squeezed behavior

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


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.

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: <>

More information about the kde-core-devel mailing list