As a QtC++ programmer, I can say couple of things
1. You are missing SLOT() macro
2. Even if the slot gets called, the id variable will not be valid, as you have not mentioned the required signature in connect.
3. More over you cannot connect a signal with less parameters to slot with more parameters.
4. A slot should always have less than or equal number of parameters, as compared to the number of parameters of signal, and also all the type of the parameters should match
Bookmarks