Any idea about these signals?

Boudewijn Rempt boud at valdyas.org
Sat Dec 31 14:18:24 CET 2005


On Saturday 31 December 2005 14:14, Thomas Zander wrote:
> On Saturday 31 December 2005 11:31, Boudewijn Rempt wrote:
> > QObject::connect: No such signal KisImage::sigLayersChanged(KisImageSP)
> > QObject::connect:  (sender name:   'unnamed')
> > QObject::connect:  (receiver name: 'unnamed')
> > QObject::connect: No such signal KisImage::sigLayersUpdated(KisImageSP)
> > QObject::connect:  (sender name:   'unnamed')
> > QObject::connect:  (receiver name: 'unnamed')
>
> That, if nothing else, you guys should pass names to your QObjects :)

We should, really.

> In constructor;  Foo::Foo() : QObject(0, "Foo") { }

But this way is going to kill us with errors when moving to Qt4

> or setName("Foo");

Where inexplicably this form is preferred.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20051231/78853eef/attachment.pgp


More information about the kimageshop mailing list