[PyKDE] signals

Hans-Peter Jansen hpj at urpla.net
Sat Oct 7 17:39:34 BST 2006


Am Samstag, 7. Oktober 2006 17:39 schrieb M.Chambers:
> I cut and pasted "collapsed (const QModelIndex & index)" directy from
> Assistant, which is how I did it with PtQt3
>
> Changing to this fixed it:
> self.connect(self, QtCore.SIGNAL("collapsed (const QModelIndex)"),
still wrong, the ampersand is missing:                          ^

> self.cbCollapsed);

It's always been this way, and I'm quite confident, that it will stay as 
such in the foreseeable future.. since Phil surely doesn't plan to 
integrate a C++ interpreter into PyQt runtime for this silly task ;-)

Pete




More information about the PyQt mailing list