[PyKDE] Static member functions
Phil Thompson
phil at riverbankcomputing.co.uk
Tue Dec 14 16:08:41 GMT 2004
> Hi,
>
> I think I understand your problem as follows: You have a non-parametrized
> signal, lostFocus, that you want to connect to one slot - but then somehow
> "magically" there shall be a reference to the object the signal came from
> is
> passed.
If that's the case then just use QObject.sender(). The slot must be a
method of a QObject derived class - but that wouldn't seem to be a problem
in this case.
Phil
More information about the PyQt
mailing list