[PyKDE] ANNOUNCE: PyQt/PyKDE v0.11pre1
Boudewijn Rempt
bsarempt at rempt.xs4all.nl
Fri Mar 17 23:27:59 GMT 2000
On Fri, 17 Mar 2000, Phil Thompson wrote:
> Boudewijn Rempt wrote:
>
> > I've hacked the dirview.py script and got it working. I don't know exactly
> > what's happening, but things seem to go wrong when there's only one
> > argument to QListViewItem.__init__() (self doesn't count - it goes
> > wrong when there's nothing but parent):
>
> Thanks, this pointed me in the right direction. It's the old problem
> (which I will get around to fixing one day) that Python signatures
> aren't as tight at C++ signatures. v0.11 generates default copy
> constructors automatically. Unfortunately I had put them at the start
> of the list of ctors rather than the end so they took precedence over
> other ctors with the same Python signature. Therefore
> QListViewItem(const QListViewItem &) was being called in preference to
> QListViewItem(QListViewItem *). Will be fixed in v0.11pre2.
>
Seems there's something to be said for medium-strength type languages ;-),
at least in these cases... Can you tell us what _was_ the problem
with the subclassed QListViewItems, or is it terribly complicated?
More information about the PyQt
mailing list