[PyKDE] Python versions of C++ signal names
Phil Thompson
phil at river-bank.demon.co.uk
Wed Apr 9 00:36:01 BST 2003
On Tuesday 08 April 2003 10:24 pm, Frederick Polgardy Jr wrote:
> Ok, I figured it out, you pretty much use the same C++ type names. :)
>
> On Tuesday 08 April 2003 04:22 pm, Frederick Polgardy Jr wrote:
> > 1) What is the python version of connect in, say:
> >
> > KIO::TransferJob* job = KIO::get( someURL );
> >
> > connect( job, SIGNAL( data(KIO::Job*, const QByteArray&), ... );
> >
> > 2) How does one find the list of the proper python SIGNAL strings for all
> > these classes?
Yes - under the covers they are just strings. The first character of the
string (which you don't get to see) defines the "type", ie whether it is a
signal or a slot.
Phil
More information about the PyQt
mailing list