diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:58:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:58:08 -0600 |
commit | 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (patch) | |
tree | e24fdc0514249de1233dd5dc07f09d07a35f4269 /kopete/protocols/irc/libkirc/kircmessage.cpp | |
parent | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (diff) | |
download | tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.tar.gz tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kopete/protocols/irc/libkirc/kircmessage.cpp')
-rw-r--r-- | kopete/protocols/irc/libkirc/kircmessage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/protocols/irc/libkirc/kircmessage.cpp b/kopete/protocols/irc/libkirc/kircmessage.cpp index c9d71cd2..8a48ce52 100644 --- a/kopete/protocols/irc/libkirc/kircmessage.cpp +++ b/kopete/protocols/irc/libkirc/kircmessage.cpp @@ -106,7 +106,7 @@ void Message::writeRawMessage(Engine *engine, const TQTextCodec *codec, const TQ // FIXME: Should check the amount of data really writen. int wrote = engine->socket()->writeBlock(s.data(), s.length()); - kdDebug(14121) << TQString::fromLatin1("(%1 bytes) >> %2").tqarg(wrote).tqarg(str) << endl; + kdDebug(14121) << TQString::fromLatin1("(%1 bytes) >> %2").arg(wrote).arg(str) << endl; } void Message::writeMessage(Engine *engine, const TQTextCodec *codec, const TQString &message) @@ -169,10 +169,10 @@ Message Message::parse(Engine *engine, const TQTextCodec *codec, bool *parseSucc // Some servers send '\n' instead of '\r\n' that the RFCs say they should be sending. if (length > 1 && raw.at(length-2) == '\n') { - raw.tqat(length-2) = '\0'; + raw.at(length-2) = '\0'; } if (length > 2 && raw.at(length-3) == '\r') { - raw.tqat(length-3) = '\0'; + raw.at(length-3) = '\0'; } kdDebug(14121) << "<< " << raw << endl; |