summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ksparser.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/ksparser.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/ksparser.cpp')
-rw-r--r--kopete/protocols/irc/ksparser.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/irc/ksparser.cpp b/kopete/protocols/irc/ksparser.cpp
index 79ff605e..25421d4d 100644
--- a/kopete/protocols/irc/ksparser.cpp
+++ b/kopete/protocols/irc/ksparser.cpp
@@ -117,17 +117,17 @@ TQCString KSParser::_parse(const TQCString &message)
}
else
{
- toAppend = popTag(TQString::tqfromLatin1("span"));
+ toAppend = popTag(TQString::fromLatin1("span"));
}
break;
case 0x07: //System bell: ^G
- KNotifyClient::beep( TQString::tqfromLatin1("IRC beep event received in a message") );
+ KNotifyClient::beep( TQString::fromLatin1("IRC beep event received in a message") );
break;
case '\t': // 0x09
- toAppend = TQString::tqfromLatin1("&nbsp;&nbsp;&nbsp;&nbsp;");
+ toAppend = TQString::fromLatin1("&nbsp;&nbsp;&nbsp;&nbsp;");
break;
case '\n': // 0x0D
- toAppend= TQString::tqfromLatin1("<br/>");
+ toAppend= TQString::fromLatin1("<br/>");
break;
case 0x0D: // Italics: ^N
toAppend = toggleTag("i");
@@ -145,14 +145,14 @@ TQCString KSParser::_parse(const TQCString &message)
toAppend = toggleTag("u");
break;
case '<':
- toAppend = TQString::tqfromLatin1("&lt;");
+ toAppend = TQString::fromLatin1("&lt;");
break;
case '>':
- toAppend = TQString::tqfromLatin1("&gt;");
+ toAppend = TQString::fromLatin1("&gt;");
break;
default:
if (cur < TQChar(' ')) // search for control characters
- toAppend = TQString::tqfromLatin1("&lt;%1&gt;").tqarg(cur, 2, 16).upper();
+ toAppend = TQString::fromLatin1("&lt;%1&gt;").tqarg(cur, 2, 16).upper();
else
toAppend = TQStyleSheet::escape(cur);
}
@@ -193,14 +193,14 @@ TQString KSParser::pushColorTag(const TQColor &fgColor, const TQColor &bgColor)
TQString tagStyle;
if (fgColor.isValid())
- tagStyle += TQString::tqfromLatin1("color:%1;").tqarg(fgColor.name());
+ tagStyle += TQString::fromLatin1("color:%1;").tqarg(fgColor.name());
if (bgColor.isValid())
- tagStyle += TQString::tqfromLatin1("background-color:%1;").tqarg(bgColor.name());
+ tagStyle += TQString::fromLatin1("background-color:%1;").tqarg(bgColor.name());
if(!tagStyle.isEmpty())
- tagStyle = TQString::tqfromLatin1("style=\"%1\"").tqarg(tagStyle);
+ tagStyle = TQString::fromLatin1("style=\"%1\"").tqarg(tagStyle);
- return pushTag(TQString::tqfromLatin1("span"), tagStyle);;
+ return pushTag(TQString::fromLatin1("span"), tagStyle);;
}
TQString KSParser::popTag(const TQString &tag)