[PyKDE] subclassing QListViewItem

2003-10-27 Thread Peter Bienstman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, The following code works as expected: QListViewItem(self.element_list, foo) But now I'm trying to subclass a QListViewItem: class ElementItem(QListViewItem): def __init__(self, parent, elem): QListViewItem.__init__(parent,

Re: [PyKDE] subclassing QListViewItem

2003-10-27 Thread Phil Thompson
On Monday 27 October 2003 5:24 pm, Peter Bienstman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, The following code works as expected: QListViewItem(self.element_list, foo) But now I'm trying to subclass a QListViewItem: class ElementItem(QListViewItem): def

Re: [PyKDE] subclassing QListViewItem

2003-10-27 Thread Peter Bienstman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 27 October 2003 18:51, you wrote: On Monday 27 October 2003 5:24 pm, Peter Bienstman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, The following code works as expected: QListViewItem(self.element_list, foo)