-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Pakulat schrieb: > On 24.01.06 22:47:32, Detlev Offenbach wrote: > >>Am Dienstag, 24. Januar 2006 22:30 schrieb Andreas Pakulat: >> >>>I think you are, look for connectSlotsByName in the compiled file. Works >>>here perfectly. >> >>Doesn't over here. At least my quick test failed. I have a QSpinBox and >>wanted >>to have a slot "on_upperspin_valueChanged(self, intValue)" autoconnected. > > > Confirmed. But it works with other stuff (I have a radiobutton connected > to a slot) > > >>However, it gets called with a QString, which is the other signal variant of >>QSpinBox. What do I have to do to make it work? > > > Seems like a bug in pyuic4, but I don't have time to look into it ATM, > so we have to wait until Torsten comments. > > Andreas >
Hi, please see Phil's mail about that. However, there are several workarounds possible: - - name the arguments after the expected C++ types (possibly with a prefix) - - decorate the function with the signal definition - - extend the naming convention of autoconnect slots (which breaks compatibility with Qt4/C++) best regards Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD1q6ffMVFHqJEyFgRAojuAJ9qLm3/C7RRhDSgxbRNeTnMXCHNOgCeIQzg JkeJ4VjTaZ6pGXjSJGHjIFk= =xf7S -----END PGP SIGNATURE----- _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
