[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: Neil Stevens <neil () qualityassistant ! com>
Date: 2002-01-22 19:20:01
[Download RAW message or body]
On Tuesday January 22, 2002 11:16, Wilco Greven wrote:
> On Tuesday 22 January 2002 19:41, Neil Stevens wrote:
> > Should kdeui widgets emit signals on set calls?
> >
> > KColorButton is emitting on setColor, which is making Kit enter
> > infinite loops it never had before. Should I revert that change?
>
> 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.
Good point.
--
Neil Stevens
neil@qualityassistant.com
Don't think of a bug as a problem. Think of it as a call to action.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic