On Wed, Nov 07, 2007 at 06:07:19PM +0100, Tommaso Cucinotta wrote:
> Hi all,

Hi Tommaso.

> if I remember well, there has been a significant decrease in the
> use of boost::signal variables, in trunk w.r.t. previous revisions.

I even believe this was intentional.

> Just as an example, now we have a Buffer::changed() method that
> uses a WorkArea pointer (wa_) in the Buffer::pimpl object, in order
> to call redrawAll() and trigger a redraw.
>
> Isn't it better to have a signal defined in the Buffer public interface,
> where interested listeners can register (e.g. GuiWorkArea) ?

Yes, that would indeed be nice. 

But boost::signal is prohibitively expensive to have in a widely used
header like Buffer.h and Qt's signals are not considered politically
correct. 

So there's actually not much choice.

Andre'

Reply via email to