[PyKDE] PyQt4 Update
phil at riverbankcomputing.co.uk
Mon Dec 5 16:21:56 GMT 2005
On Saturday 03 December 2005 6:56 pm, David Boddie wrote:
> > > There also seemed to be some problems with the default implementations
> > > of methods in QAbstractListModel subclasses, but I'll have to explore
> > > that later.
> Just to clarify: subclasses of QAbstractListModel that don't reimplement
> columnCount() should automatically inherit the base class's behaviour and
> return 1. It seems that the inheritance mechanism wasn't working correctly
> for these classes, possibly because QAbstractListModel implements
> columnCount() as a private function. I don't know how SIP deals with this.
Are you sure? Doesn't the private implementation effectively block the method
from being propagated to more specific classes?
Try and compile:
More information about the PyQt