signal and slot
What does @Slot() do? — Is the Slot decorator even necessary?
And when I connect QSocket's error signal to some of my custom slots, the signal is emitted when server sends last line and closes the connection, and in client's slot/function that reads I never read that last line.
Examples Of Online Gambling - familk.vn
Example code for singnals and slots writen in c++ using Qt framework. - mmlado/cpp-qt-signal-slot-example.
Qt Signals and Slots : r/cpp
"clicked()" is your slot! You have to define it and use SLOT instead of SIGNAL.