summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/libkirc/kircengine_commands.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
commit089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch)
treece014fb2326a80fcfafa2362b7ff88486aa17c96 /kopete/protocols/irc/libkirc/kircengine_commands.cpp
parent83677e35509b4dafac63b76995652bdf3b49f209 (diff)
downloadtdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz
tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kopete/protocols/irc/libkirc/kircengine_commands.cpp')
-rw-r--r--kopete/protocols/irc/libkirc/kircengine_commands.cpp10
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)