PDA

View Full Version : Printing out QObject data...



gilamran
24th January 2011, 10:46
Hi,
I have a QObject and I want to "investigate" it as much as possible... like Spy++
I want to know anything that this object have or can do.
I probably have to work with the MetaObject to get all the methods with all their parameters...

The thing is that I'm not a C++ developer and I'm having hard time doing it...
does anyone have a code that does that, or something similar?

Thanks
Gil

wysota
24th January 2011, 11:58
For a start:

QObject::dumpObjectInfo()
QObject::dumpObjectTree()