[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] QCanvas Items: solved
From: Karl <myonlyb () vollbio ! de>
Date: 2004-05-31 13:24:48
Message-ID: 6.1.0.6.2.20040531152126.02d2a8a8 () pop ! gmx ! net
[Download RAW message or body]
Hi!
We solved the problem with the QCanvas Items.
The problem was, that we used the QCanvasRectangle.rtti()-method to
identify the class because we thought, that was what rtti() was meant for.
(And it definitely worked under Qt 2.x, whyever), the rtti()-method is
marked as virtual, I understood this the way, I *had to* reimplement it in
an child-class.
So, when our ClassId returned e.g. 6, Qt identified the item as QCanvasEllipse.
Tnx anyway for your help!!!!
Karl
_______________________________________________
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