RFC: An action class to ease implementation of show/hide-like actions

Aurélien Gâteau agateau at kde.org
Sun Sep 19 08:28:02 BST 2010


On 19/09/2010 09:13, Aurélien Gâteau wrote:
> On 18/09/2010 21:17, matthew wrote:
>> Instead of having to different functions, why not have two different signals?  Qt in its QLineEdit class has two signals, textChanged and textEdited.  textEdited does not get emitted when the text is changed using the setText function, while textChanged is.
> 
> Could be a solution. How would you name the second signal? activeEdited()?

Thinking of it more, I thikn activeChanged() and activeChangedByUser()
are more explicit. Does it make sense?

Aurélien




More information about the kde-core-devel mailing list