Re: Problem with signal and slot arguments

Florian Bruhin <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On Tue, Oct 29, 2019 at 09:19:37AM -0500, Dennis Jensen wrote:
> Actually I do not think the pyqtSlot can take that data type from what I
> understand is they only deal in primitives (int, str, object)

I'm not sure what makes you think so.

It works just fine, and the docs[1] say "Each type may be a Python type object
or a string that is the name of a C++ type.". QBluetoothDeviceInfo is a type
object (a class), and so is str or int or object.

[1] https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html#the-pyqtslot-decorator

Florian

-- 
https://www.qutebrowser.org | [email protected] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAl24Xy4ACgkQkW6wyP1V
oHJmAA/9EqqZ1TkU3XXb/5wVaz11dxcNkFd1ttZgwujOJujRoxQEEQw4+TyNJMmf
l5GqBECWCdv3RS5hp8SKcHoGjJHIMbMS8HNGZQTUUcLmbbbW+UaUsgAM5wgaKZEn
ATtZyJEMY4gax7nssN+k40Wzgkcv9akC5TPMjzRjp9mZMope/ioyzxeGpenxyhvA
+rS9cCUIwnNGDz/KUiKSHCiIbkooGhZHZEahqTPdpy1WEoxQ6RcKbzA0yDccBm83
DW6lnsfH89fDRFcWRaAmCtKpZmb76DjdvGoUkWZGJgR4XBFBxX0KT76wHd4yGsLo
1CnCEwhgrtBMqM13O7K1XkrdaVld2zbT08f91y3htrVsXhyVZP7MpTEIDC8rGnYv
kceHawFXVNIfkTGAtIAjf4hln/Qe6tOMJjncXqe2xVszqg7S+GErNMNSSB8Gv6Bn
k+0QRP1lWBpjDYkEnfuyMzqqHOA6pj+QtdItIykvMqmXXGNCtWVvhoEjtW7IEcyU
cuUR46rAwh0o6Cp6oCVR3EITSbtZf5HLNYy1f88BREYrvud8gk0C8yczMxKnnaFd
n4k263BapgjrWtR6g27/AvbL97qobQQ469s1U8XUcSSvCQpj2G2saNEagSeAbF8z
Sxs5qST9q8g0UvcjsEiuznSvADoVKQTcwwLGV+wsVFArgqUC378=
=e0Gh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.