sir whether connect(&socket,SIGNAL),this,SLOT));
and if(socket.isReadable()) { readData(&socket); }
are same?
sir whether connect(&socket,SIGNAL),this,SLOT));
and if(socket.isReadable()) { readData(&socket); }
are same?
No... neither snippet is close to being compilable code but apart from that they are not the same.
Bookmarks