[PyKDE] convertSubClass() -- I introduced a bug :-(
Phil Thompson
phil at riverbankcomputing.co.uk
Mon Apr 12 15:09:01 BST 2004
On Monday 12 April 2004 2:00 pm, Dave Cuthbert wrote:
> Phil Thompson wrote:
> > Don't talk about *the* subclass converter for A, there can be any number
> > of them. For example, the qt, qtcanvas, qtext, qtgl, qtnetwork, qtsql and
> > qttable all provide converters for QObject.
>
> Ah, *now* I get it. (Did I manage to overlook the documentation on
> this, or is it one of those moving targets?)
It's not yet covered in the (slowly) growing documentation.
> It's not obvious from the SIP files -- for example, in qcanvas.sip, it
> looks like it's defining a subclass converter just for stuff in QCanvas
> and below. But in the generated file, it's clearly overlaying (? is
> there a better word to describe this?) the QObject converter from
> qobject.sip.
Just for stuff in QCanvas, *not* "and below".
Overlaying implies replacing - it's supplementing existing convertors.
Phil
More information about the PyQt
mailing list