[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] virtual functions not getting executed
From:       Landshark <landshark () verticaladdiction ! net>
Date:       2003-02-23 0:53:27
[Download RAW message or body]

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    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic