From: Manuel Nickschas Date: Thu, 23 Jan 2014 00:05:29 +0000 (+0100) Subject: Handle the readyRead() signal in RemotePeer instead of LegacyPeer X-Git-Tag: 0.10-beta1~41 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;ds=inline;h=676141b18a54c4aa34d4831b9d054d8d63ba21b1;hp=676141b18a54c4aa34d4831b9d054d8d63ba21b1;p=quassel.git Handle the readyRead() signal in RemotePeer instead of LegacyPeer That way, the RemotePeer subclasses don't all need to connect to the signal themselves; also, we can make sure in a central place that socket data is processed even the socket was handed over to the peer with unhandled data still in its buffer. Instead of handling the signal directly, RemotePeer subclasses need to implement the onSocketDataAvailable() method. ---