I\'m writing a test app that simulates key presses of another application. For every key press I have to check if the right window/form is shown. So what I do is get the poi
Try using the metaobject.
pWin->metaObject()->className();