summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ksparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/irc/ksparser.cpp')
-rw-r--r--kopete/protocols/irc/ksparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/irc/ksparser.cpp b/kopete/protocols/irc/ksparser.cpp
index 25421d4d..514421ff 100644
--- a/kopete/protocols/irc/ksparser.cpp
+++ b/kopete/protocols/irc/ksparser.cpp
@@ -152,7 +152,7 @@ TQCString KSParser::_parse(const TQCString &message)
break;
default:
if (cur < TQChar(' ')) // search for control characters
- toAppend = TQString::fromLatin1("&lt;%1&gt;").tqarg(cur, 2, 16).upper();
+ toAppend = TQString::fromLatin1("&lt;%1&gt;").arg(cur, 2, 16).upper();
else
toAppend = TQStyleSheet::escape(cur);
}
@@ -193,12 +193,12 @@ TQString KSParser::pushColorTag(const TQColor &fgColor, const TQColor &bgColor)
TQString tagStyle;
if (fgColor.isValid())
- tagStyle += TQString::fromLatin1("color:%1;").tqarg(fgColor.name());
+ tagStyle += TQString::fromLatin1("color:%1;").arg(fgColor.name());
if (bgColor.isValid())
- tagStyle += TQString::fromLatin1("background-color:%1;").tqarg(bgColor.name());
+ tagStyle += TQString::fromLatin1("background-color:%1;").arg(bgColor.name());
if(!tagStyle.isEmpty())
- tagStyle = TQString::fromLatin1("style=\"%1\"").tqarg(tagStyle);
+ tagStyle = TQString::fromLatin1("style=\"%1\"").arg(tagStyle);
return pushTag(TQString::fromLatin1("span"), tagStyle);;
}