[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Should widgets emit sigals on set* calls?
From:       Michael =?iso-8859-1?q?H=E4ckel?= <haeckel () kde ! org>
Date:       2002-01-22 19:40:18
[Download RAW message or body]

On Tuesday 22 January 2002 20:16, Wilco Greven wrote:
>
> The signal should be emitted. What if two objects interact with the button.
> If one object changes the color, the other still wants to be notified about
> that change. The button should only emit the signal if the color really got
> changed by setColor.

At least in Qt this works now different at several places.

For example QListView->setCurrentItem() does no longer emit a currentChanged() 
signal.

Not that I really like that...

Regards,
Michael Häckel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic