diff options
Diffstat (limited to 'kopete/protocols/irc/libkirc/kircengine_commands.cpp')
-rw-r--r-- | kopete/protocols/irc/libkirc/kircengine_commands.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/irc/libkirc/kircengine_commands.cpp b/kopete/protocols/irc/libkirc/kircengine_commands.cpp index e0e63909..acea30e7 100644 --- a/kopete/protocols/irc/libkirc/kircengine_commands.cpp +++ b/kopete/protocols/irc/libkirc/kircengine_commands.cpp @@ -48,7 +48,7 @@ void Engine::away(bool isAway, const TQString &awayMessage) if( !awayMessage.isEmpty() ) writeMessage("AWAY", TQString(), awayMessage); else - writeMessage("AWAY", TQString(), TQString::tqfromLatin1("I'm away.")); + writeMessage("AWAY", TQString(), TQString::fromLatin1("I'm away.")); else writeMessage("AWAY", TQString()); } @@ -56,20 +56,20 @@ void Engine::away(bool isAway, const TQString &awayMessage) // FIXME: Really handle this message void Engine::error(Message &) { - settqStatus(Closing); + setStatus(Closing); } void Engine::ison(const TQStringList &nickList) { if (!nickList.isEmpty()) { - TQString statement = TQString::tqfromLatin1("ISON"); + TQString statement = TQString::fromLatin1("ISON"); for (TQStringList::ConstIterator it = nickList.begin(); it != nickList.end(); ++it) { if ((statement.length()+(*it).length())>509) // 512(max buf)-2("\r\n")-1(<space separator>) { writeMessage(statement); - statement = TQString::tqfromLatin1("ISON ") + (*it); + statement = TQString::fromLatin1("ISON ") + (*it); } else statement.append(TQChar(' ') + (*it)); @@ -201,7 +201,7 @@ void Engine::quit(const TQString &reason, bool /*now*/) if (isConnected()) writeMessage("QUIT", TQString(), reason); - settqStatus(Closing); + setStatus(Closing); } void Engine::quit(Message &msg) |