[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] ConvertToSubClassCode
From: Gerard Vermeulen <gvermeul () grenoble ! cnrs ! fr>
Date: 2003-11-19 8:04:37
[Download RAW message or body]
On Tue, 18 Nov 2003 19:13:10 +0000
Phil Thompson <phil@riverbankcomputing.co.uk> wrote:
[ snip ]
> >
> > were due to the fact that I did not implement ConvertToSubClassCode for
> > the Qwt widgets. Therefore, the 'is' operator did not work as expected.
> >
> > Since Qwt is more of a bunch of widgets than a neat hierarchy like PyKDE,
> > the most natural choice is to convert down from a QObject to a specific
> > subclass.
> >
> > As far as I understand, the sipc module knows how to handle more than
> > one "static PyObject *sipSubClass_QObject(const QObject *sipCpp)" (as
> > long as they are implemented in different modules), but sip does not
> > support it.
>
> I don't understand - sip does support it, look at qtable.sip or qcanvas.sip.
> Or am I missing something?
>
My fault. Of course I looked at those *.sip files but not close enough to
the generated code. Sorry.
Gerard
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.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