PDA

View Full Version : How to filter QEvent::MetaCall



gilamran
4th January 2011, 18:59
Hi,
I'm listening to some QWidget, and I'm uinsg installEventFilter!
It's all working and I see event number 43 (QEvent::MetaCall).
how do I get all the meta call details? I want the function name, args etc.

In KeyPress I can do this:


if (event->type() == QEvent::KeyPress)
QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event);

But what can I do with MetaCall???

THANKS!