equal
deleted
inserted
replaced
33 static QByteArray & addStringToBuffer(QByteArray & buf, const QString & string); |
33 static QByteArray & addStringToBuffer(QByteArray & buf, const QString & string); |
34 static QByteArray & addByteArrayToBuffer(QByteArray & buf, const QByteArray & msg); |
34 static QByteArray & addByteArrayToBuffer(QByteArray & buf, const QByteArray & msg); |
35 static QByteArray & addStringListToBuffer(QByteArray & buf, const QStringList & strList); |
35 static QByteArray & addStringListToBuffer(QByteArray & buf, const QStringList & strList); |
36 static QString formatChatMsg(const QString & nick, const QString & msg); |
36 static QString formatChatMsg(const QString & nick, const QString & msg); |
37 static QString formatChatMsgForFrontend(const QString & msg); |
37 static QString formatChatMsgForFrontend(const QString & msg); |
|
38 static QString formatDirectMsg(const QString & myNick, const QString & nick, |
|
39 const QString & msg, bool isEcho); |
38 /** |
40 /** |
39 * @brief Determines if a chat string represents a chat action and returns the action. |
41 * @brief Determines if a chat string represents a chat action and returns the action. |
40 * @param string chat string |
42 * @param string chat string |
41 * @return the action-message or NULL if message is no action |
43 * @return the action-message or NULL if message is no action |
42 */ |
44 */ |