[PyKDE] ANNOUNCE: PyQt/PyKDE v0.11pre1
    Phil Thompson 
    phil at river-bank.demon.co.uk
       
    Fri Mar 17 21:43:10 GMT 2000
    
    
  
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.
Phil
    
    
More information about the PyQt
mailing list