Thanks Thiago. I got caught up in using the convenience shape items and
then multiple inheriting from them and my base class instead of rolling my
own base class that derived from one of the item classes. I try to avoid
multiple inheritance, but apparently I didn't think about it long enough to
see that the shortest route wasnt the best route.

- Swyped from my droid.

On May 22, 2013 2:38 PM, "Jonathan Greig" <redteam...@gmail.com> wrote:

I was able to get static_cast to work also if I static casted the
QGraphicsItem* to a DerivedObject* and then static casted the
DerivedObject* to a BaseObject*. I'll probably just derive my BaseObject
from QGraphicsPathItem since it has most of what I need and just use
static_cast to avoid the RTTI.



- Swyped from my droid.


>
> On May 22, 2013 1:15 PM, "Alex Malyushytskyy" <alexmal...@gmail.com>
wrote:
>
> They are not.
>...

>
>
>
> On Wed, May 22, 2013 at 10:10 AM, Constantin Makshin <cmaks...@gmail.com>
wrote:
> >
> Well, C-style...


>
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project...
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to