So I think it will work if I use the ISO C++ dynamic_cast or static_cast.
The doc says the qobject_cast does not require RTTI.
what do you think is not suitable if we use dynamic_cast or static_cast?
for objects which inherit from QObject it's better to use qobject_cast.
Originally Posted by sophister
By the way, you get up so early!!
my local time is 09:09 am
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks