I want to inherit canReadLine() from QTcpSocket so to make it to return true if there is newline '\n' but not to care if the other simbols can be read or not.
From the documentation:
Note that unbuffered devices, which have no way of determining what can be read, always return false.
I don't want this function to care what is the data I just want to return true if somewhere there is newline. I inherited QTcpSocket and overloaded the function in to the my new class but I don't know what to put in it. Can someone help me this time pleace.

Regards,
The Storm