pykde  

Re: [PyKDE] virtual functions not getting executed

Landshark
Sat, 22 Feb 2003 16:52:23 -0800

On Sat, Feb 22, 2003 at 10:43:57PM +0000, Phil Thompson wrote:
> > I created a subclass of QListViewItem and then wrote my own
> > paintCell(...) function.
> >
> > However, this function never gets called, only the baseclass's paintCell
> > gets called.
> 
> Can you provide a small, complete example that demonstrates the problem?

Sorry.  You'll have to excuse me.  I'm retarded :)

I was doing:

def __init(self, *args):
    QListViewItem(*args)

    instead of QListViewItem.__init__(self, *args)

Sorry about that.

-- 
-dave

Duct tape is like the force.  It has a light side and a dark side,
and it holds the universe together.  - Carl Zwanzig

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde