summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
commitf22094717223e67f4149635a8dae1baf6728957d (patch)
tree5f4bc136728209445c0e6aef8baed75f551a34a3
parent5a2cf518a1d1c2c6d302bb0159d18efd85c5f697 (diff)
downloadkonversation-f22094717223e67f4149635a8dae1baf6728957d.tar.gz
konversation-f22094717223e67f4149635a8dae1baf6728957d.zip
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
-rw-r--r--konversation/src/channel.cpp2
-rw-r--r--konversation/src/outputfilter.cpp2
-rw-r--r--konversation/src/server.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/konversation/src/channel.cpp b/konversation/src/channel.cpp
index fd8ac16..d0e10c4 100644
--- a/konversation/src/channel.cpp
+++ b/konversation/src/channel.cpp
@@ -607,7 +607,7 @@ void Channel::popupCommand(int id)
pattern=cc+"KICKBAN -USERDOMAIN %u";
break;
case Konversation::OpenQuery:
- pattern=cc+"TQUERY %u";
+ pattern=cc+"QUERY %u";
break;
case Konversation::StartDccChat:
pattern=cc+"DCC CHAT %u";
diff --git a/konversation/src/outputfilter.cpp b/konversation/src/outputfilter.cpp
index 0d200c8..fae146c 100644
--- a/konversation/src/outputfilter.cpp
+++ b/konversation/src/outputfilter.cpp
@@ -601,7 +601,7 @@ namespace Konversation
{
OutputFilterResult result;
- result.toServer = "TQUIT :";
+ result.toServer = "QUIT :";
// if no reason given, take default reason
if(reason.isEmpty())
result.toServer += m_server->getIdentity()->getQuitReason();
diff --git a/konversation/src/server.cpp b/konversation/src/server.cpp
index 18cd882..1c471cb 100644
--- a/konversation/src/server.cpp
+++ b/konversation/src/server.cpp
@@ -697,7 +697,7 @@ void Server::quitServer()
// a TQUIT).
updateConnectionState(Konversation::SSDeliberatelyDisconnected);
- TQString command(Preferences::commandChar()+"TQUIT");
+ TQString command(Preferences::commandChar()+"QUIT");
Konversation::OutputFilterResult result = getOutputFilter()->parse(getNickname(),command, TQString());
queue(result.toServer, HighPriority);
@@ -1072,7 +1072,7 @@ int Server::_send_internal(TQString outputLine)
else // no argument (servers recognize it as "*")
m_inputFilter.addWhoRequest("*");
}
- else if (outboundCommand == 1) //"TQUIT"
+ else if (outboundCommand == 1) //"QUIT"
updateConnectionState(Konversation::SSDeliberatelyDisconnected);
// set channel encoding if specified