Re: Sending signals to all but one receiver
--===============0546676987==
Content-Type: multipart/signed;
boundary="nextPart1307441.MhhqnPkUru";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
--nextPart1307441.MhhqnPkUru
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Friday 24 February 2006 18:37, Arnold Krille wrote:
[color=blue]
> But the problem is that A's interface should be compatible in the Qt-way
> (thats why the slots and signals are setValue(...) and valueChanged(...))
> and that B is a Qt-class (QSpinBox, QLineEdit, QDoubleSpinBox to be
> precise).[/color]
If the value received in the slot is the same the object already has, why=20
would it emit the signal if not change happend?
Qt classes don't do this, you can for example connect a slider and a spinbo=
x=20
to each other and get no loop at all
Cheers,
Kevin
=2D-=20
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: [url]www.mrunix.de[/url] (German), [url]www.qtcentre.org[/url]
--nextPart1307441.MhhqnPkUru
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQBD/08ynKMhG6pzZJIRAuIJAJ9L0DMMIGwIlvcq9VqAS7XTafWlKACbBqY3
dtiFIGfDrDjpNHNfRWTwIok=
=dwZf
-----END PGP SIGNATURE-----
--nextPart1307441.MhhqnPkUru--
--===============0546676987==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
[color=blue][color=green]
>> Visit [url]http://mail.kde.org/mailman/listinfo/kde-devel#unsub[/url] to unsubscribe <<[/color][/color]
--===============0546676987==--