From 937b2991d8e78166eea904c80ad04d34607017a4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/groupwise/libgroupwise/rtf.ll | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kopete/protocols/groupwise/libgroupwise/rtf.ll') diff --git a/kopete/protocols/groupwise/libgroupwise/rtf.ll b/kopete/protocols/groupwise/libgroupwise/rtf.ll index 70d4daa5..7f2f1841 100644 --- a/kopete/protocols/groupwise/libgroupwise/rtf.ll +++ b/kopete/protocols/groupwise/libgroupwise/rtf.ll @@ -67,17 +67,17 @@ void ParStyle::clearFormatting() QString RTF2HTML::quoteString(const QString &_str, quoteMode mode) { QString str = _str; - str.tqreplace(QRegExp("&"), "&"); - str.tqreplace(QRegExp("<"), "<"); - str.tqreplace(QRegExp(">"), ">"); - str.tqreplace(QRegExp("\""), """); - str.tqreplace(QRegExp("\r"), ""); + str.replace(QRegExp("&"), "&"); + str.replace(QRegExp("<"), "<"); + str.replace(QRegExp(">"), ">"); + str.replace(QRegExp("\""), """); + str.replace(QRegExp("\r"), ""); switch (mode){ case quoteHTML: - str.tqreplace(QRegExp("\n"), "
\n"); + str.replace(QRegExp("\n"), "
\n"); break; case quoteXML: - str.tqreplace(QRegExp("\n"), "
\n"); + str.replace(QRegExp("\n"), "
\n"); break; default: break; @@ -94,7 +94,7 @@ QString RTF2HTML::quoteString(const QString &_str, quoteMode mode) QString s = " "; for (int i = 1; i < len; i++) s += " "; - str.tqreplace(pos, len, s); + str.replace(pos, len, s); } return str; } -- cgit v1.2.1