[Patch] clearButtonClicked signal for KLineEdit

Mathias Soeken msoeken at tzi.de
Sat Apr 28 12:11:42 BST 2007


Aaron J. Seigo wrote:

> On Thursday 26 April 2007, Mathias Soeken wrote:
>> Hi,
>>
>> I added a signal which is emitted when the user clicked on the clear
>> button in a KLineEdit widget.
>>
>> I could use it for the kmail application, where it is a difference
>> whether the text is cleared or the user clicks on the button.
> 
> the patch looks good technically; i had considered providing such a signal
> but was waiting for a use case to pop up first. what is the use case in
> kmail?
> 

In the composer window, you can enter recipients line by line. When clicking
on the clear button the whole line is removed from all the recipient lines.
Now there is a clear button as push button. But when clearing the text in
the lineedit widget, the recipient line should not be removed.

Mathias





More information about the kde-core-devel mailing list