summaryrefslogtreecommitdiffstats
path: root/ksirc/chanparser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 15:53:28 +0200
commit4b54ad17739d1075235f2960ecde230a58b5621c (patch)
tree041d34c2e70d106209f97f8607698ccfe907c9b4 /ksirc/chanparser.cpp
parent6f21bc7511005a69a8ef14c2ad4e74857baf59f3 (diff)
downloadtdenetwork-4b54ad17739d1075235f2960ecde230a58b5621c.tar.gz
tdenetwork-4b54ad17739d1075235f2960ecde230a58b5621c.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 089118c18533dfa3e6ce5065dbebdd4db94051f1)
Diffstat (limited to 'ksirc/chanparser.cpp')
-rw-r--r--ksirc/chanparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/chanparser.cpp b/ksirc/chanparser.cpp
index b2bdc93c..a297dc95 100644
--- a/ksirc/chanparser.cpp
+++ b/ksirc/chanparser.cpp
@@ -38,7 +38,7 @@ ChannelParser::ChannelParser(KSircTopLevel *_top)
if(parserTable.isEmpty() == TRUE){
parserTable.setAutoDelete(TRUE);
parserTable.insert("`l`", new parseFunc(&ChannelParser::parseSSFEClear));
- parserTable.insert("`s`", new parseFunc(&ChannelParser::parseSSFEtqStatus));
+ parserTable.insert("`s`", new parseFunc(&ChannelParser::parseSSFEStatus));
parserTable.insert("`i`", new parseFunc(&ChannelParser::parseSSFEInit));
parserTable.insert("`t`", new parseFunc(&ChannelParser::parseSSFEMsg));
parserTable.insert("`o`", new parseFunc(&ChannelParser::parseSSFEOut));
@@ -123,7 +123,7 @@ parseResult * ChannelParser::parseSSFEClear(TQString string)
return new parseSucc(TQString()); // Null string, don't display anything
}
-parseResult * ChannelParser::parseSSFEtqStatus(TQString string)
+parseResult * ChannelParser::parseSSFEStatus(TQString string)
{
string.remove(0, 12); // strip off the first 12 characters "<junk> [sirc] "
if(string.length() == 0)
@@ -159,7 +159,7 @@ parseResult * ChannelParser::parseSSFEtqStatus(TQString string)
if ( nickItem ) {
if(nickItem->away() != away){
nickItem->setAway( away );
- top->nicks->viewport()->tqrepaint( top->nicks->tqitemRect( nickItem ), false );
+ top->nicks->viewport()->tqrepaint( top->nicks->itemRect( nickItem ), false );
}
nickItem->forceColour(&ksopts->ownNickColor);
}