X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fprotocols%2Flegacy%2Flegacypeer.h;h=5aeafcae136037b8d06ac2ae2c6b2857f284c8dc;hp=1d09dd6b5534677d07c04a11a9247668193101a4;hb=208ccb6d91ebb3c26a67c35c11411ba3ab27708a;hpb=3d464695bf5b57c969f30e6f3b8b429890f976bf diff --git a/src/common/protocols/legacy/legacypeer.h b/src/common/protocols/legacy/legacypeer.h index 1d09dd6b..5aeafcae 100644 --- a/src/common/protocols/legacy/legacypeer.h +++ b/src/common/protocols/legacy/legacypeer.h @@ -66,9 +66,6 @@ public: void dispatch(const Protocol::HeartBeat &msg); void dispatch(const Protocol::HeartBeatReply &msg); - // FIXME: this is only used for the auth phase and should be replaced by something more generic - void writeSocketData(const QVariant &item); - signals: void protocolError(const QString &errorString); @@ -80,10 +77,14 @@ protected slots: private: bool readSocketData(QVariant &item); + void writeSocketData(const QVariant &item); void handleHandshakeMessage(const QVariant &msg); void handlePackedFunc(const QVariant &packedFunc); void dispatchPackedFunc(const QVariantList &packedFunc); + void toLegacyIrcUsersAndChannels(QVariantMap &initData); + void fromLegacyIrcUsersAndChannels(QVariantMap &initData); + QDataStream _stream; quint32 _blockSize; bool _useCompression;