Well, since you claim this is all the code and the code does not contain any signal/slot connects, you are obviously missing those.

Cheers,
_