[Qt-interest] How can I know A is derived from B in QT
David Boosalis
david.boosalis at gmail.com
Sat Sep 19 16:21:29 CEST 2009
For Qt Objects
QObject::inherits ( const char * className )
On Sat, Sep 19, 2009 at 5:45 AM, yi xia <max.xiayi at gmail.com> wrote:
>
> Hi ALL,
> Is there any method to tell me whether A is derived from B?
>
> I use dynamic_cast, but on my buggy arm board, this method will cause the board to hang.
>
> Max
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list