Mercurial > hg > octave-lyh
changeset 13592:83e83a704383
IRC traffic in console.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 04 Aug 2011 10:43:27 +0200 |
parents | b2ee41559bff |
children | fe30859fb540 |
files | gui/src/qirc/IRCClientImpl.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/src/qirc/IRCClientImpl.cpp +++ b/gui/src/qirc/IRCClientImpl.cpp @@ -320,6 +320,7 @@ void IRCClientImpl::handleIncomingLine (const QString &line) { + emit debugMessage (QString (">>>recv: \"%1\"").arg (line)); if (m_connected && !line.isEmpty()) { IRCServerMessage ircEvent(line); @@ -346,7 +347,7 @@ case IRCReply::Topic: break; case IRCReply::NameReply: - + emit debugMessage (QString ("LINKME: (NameReply) \'%1\'").arg (ircEvent.parameter (3))); //m_nickList = event->getParam (3).split (QRegExp ("\\s+"), QString::SkipEmptyParts); break; } @@ -428,6 +429,7 @@ void IRCClientImpl::sendLine (const QString &line) { + emit debugMessage (QString ("<<<send: \"%1\"").arg (line)); if (m_connected) m_tcpSocket.write ((line + "\r\n").toStdString ().c_str ()); }