--===============5813783455787566522== Content-Type: multipart/alternative; boundary=0015173febeeedfe1004c34b9456 --0015173febeeedfe1004c34b9456 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Jun 25, 2012 at 1:35 AM, Luca Beltrame wr= ote: > In data luned=EC 25 giugno 2012 07:51:21, Viranch Mehta ha scritto: > > > 1. sender.signal.connect(receiver.slot) > > I would recommend this way of connecting signals in, since errors will be > immediately caught (AttributeError in case of wrong / missing signal) > rather > than silently ignored. > > The only case in which option 2 should be used is if the C++ signal has n= ot > been bound to the Python bindings. > > -- > Luca Beltrame - KDE Forums team > KDE Science supporter > GPG key ID: 6E1A4E79 > > It also has the benefit of being a lot clearer to understand. Once Viranch pointed out where sender and receiver go, I was able to start to figure things out and am extremely close to finally finishing this project. -- Eric Mesa http://about.me/ericmesa http://www.ericsbinaryworld.com --0015173febeeedfe1004c34b9456 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Jun 25, 2012 at 1:35 AM, Luca Beltrame <= span dir=3D"ltr"><einar@heavensinferno.net> wrote:
In data luned=EC 25 giugno 2012 07:51:21, Viranch Mehta ha scritto:

> 1. sender.signal.connect(receiver.slot)

I would recommend this way of connecting signals in, since errors will be immediately caught (AttributeError in case of wrong / missing signal) rathe= r
than silently ignored.

The only case in which option 2 should be used is if the C++ signal has not=
been bound to the Python bindings.

--
Luca Beltrame - KDE Forums team
KDE Science supporter
GPG key ID: 6E1A4E79

It also has the benefit of being a lot= clearer to understand.=A0 Once Viranch pointed out where sender and receiv= er go, I was able to start to figure things out and am extremely close to f= inally finishing this project.
--
Eric Mesa
= http://about.me/ericmesa
http://www.ericsbinaryworld.com
--0015173febeeedfe1004c34b9456-- --===============5813783455787566522== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============5813783455787566522==--