Fix a number of strings in Trinity that were incorrectly converted to TQ* from Q*

This fixes the Kopete MSN protocol among other things


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/konversation@1254372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 5a2cf518a1
commit f220947172

@ -607,7 +607,7 @@ void Channel::popupCommand(int id)
pattern=cc+"KICKBAN -USERDOMAIN %u"; pattern=cc+"KICKBAN -USERDOMAIN %u";
break; break;
case Konversation::OpenQuery: case Konversation::OpenQuery:
pattern=cc+"TQUERY %u"; pattern=cc+"QUERY %u";
break; break;
case Konversation::StartDccChat: case Konversation::StartDccChat:
pattern=cc+"DCC CHAT %u"; pattern=cc+"DCC CHAT %u";

@ -601,7 +601,7 @@ namespace Konversation
{ {
OutputFilterResult result; OutputFilterResult result;
result.toServer = "TQUIT :"; result.toServer = "QUIT :";
// if no reason given, take default reason // if no reason given, take default reason
if(reason.isEmpty()) if(reason.isEmpty())
result.toServer += m_server->getIdentity()->getQuitReason(); result.toServer += m_server->getIdentity()->getQuitReason();

@ -697,7 +697,7 @@ void Server::quitServer()
// a TQUIT). // a TQUIT).
updateConnectionState(Konversation::SSDeliberatelyDisconnected); updateConnectionState(Konversation::SSDeliberatelyDisconnected);
TQString command(Preferences::commandChar()+"TQUIT"); TQString command(Preferences::commandChar()+"QUIT");
Konversation::OutputFilterResult result = getOutputFilter()->parse(getNickname(),command, TQString()); Konversation::OutputFilterResult result = getOutputFilter()->parse(getNickname(),command, TQString());
queue(result.toServer, HighPriority); queue(result.toServer, HighPriority);
@ -1072,7 +1072,7 @@ int Server::_send_internal(TQString outputLine)
else // no argument (servers recognize it as "*") else // no argument (servers recognize it as "*")
m_inputFilter.addWhoRequest("*"); m_inputFilter.addWhoRequest("*");
} }
else if (outboundCommand == 1) //"TQUIT" else if (outboundCommand == 1) //"QUIT"
updateConnectionState(Konversation::SSDeliberatelyDisconnected); updateConnectionState(Konversation::SSDeliberatelyDisconnected);
// set channel encoding if specified // set channel encoding if specified

Loading…
Cancel
Save