Using MetaObjects QMetaObject has classes that you can use to get information about the QObject className() => returns a const char* superClass() => returns a pointer to the base class methodCount()