X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fnetworkconnection.h;h=c28da180a58383ad3ae88b594d1243bd82a80634;hp=16bfccc4223e92c919960784e80713907ad1cd32;hb=07171f8337e7236c3ac3432352b41ad3c53e077b;hpb=72d23cc04e32bfc166720f9b7ecaf4f53e63ec5e diff --git a/src/core/networkconnection.h b/src/core/networkconnection.h index 16bfccc4..c28da180 100644 --- a/src/core/networkconnection.h +++ b/src/core/networkconnection.h @@ -95,7 +95,8 @@ public slots: void userInput(BufferInfo bufferInfo, QString msg); void putRawLine(QByteArray input); - void putCmd(const QString &cmd, const QVariantList ¶ms, const QByteArray &prefix = QByteArray()); + int lastParamOverrun(const QString &cmd, const QList ¶ms); + void putCmd(const QString &cmd, const QList ¶ms, const QByteArray &prefix = QByteArray()); void setChannelJoined(const QString &channel); void setChannelParted(const QString &channel); @@ -194,8 +195,6 @@ private: int _tokenBucket; // the virtual bucket that holds the tokens QList _msgQueue; - int _maxMsgSize; - void writeToSocket(QByteArray s);