Hi,

I'm stumped... how does this work? This piece of code is from qobject.h in the function qFindChildren. It looks like it dereferences a NULL pointer to get the staticMetaObject??

Qt Code:
  1. reinterpret_cast<T>(0)->staticMetaObject
To copy to clipboard, switch view to plain text mode 

Thanks!
Hua-Ying