I didn't have a defined pushButton so i added it:
Thats is not true.
If there was not a defined 'pushButton' you would have gotten a compile error.
Which is also the reason your event handler "is not working".
You have a defined a local 'pushButton' in your constructor, which is being initialized, but the 'pushButton' in your evnetFilter is declared somewhere else, probably in your header in class scope, but it is not initialized, hence it never matcher your if() statements.
It seems you have no idea how classes in C++ work, and what are members.
Hence, this is becoming off topic for this forum.