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/oscar/aim/aimaccount.cpp | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kopete/protocols/oscar/aim/aimaccount.cpp') diff --git a/kopete/protocols/oscar/aim/aimaccount.cpp b/kopete/protocols/oscar/aim/aimaccount.cpp index 201d7d01..cc890add 100644 --- a/kopete/protocols/oscar/aim/aimaccount.cpp +++ b/kopete/protocols/oscar/aim/aimaccount.cpp @@ -127,53 +127,53 @@ void AIMMyselfContact::sendMessage( Kopete::Message& message, Kopete::ChatSessio //font-size:xxpt -> s=message.escapedBody(); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("([^<]*)")), + s.replace ( TQRegExp( TQString::tqfromLatin1("([^<]*)")), TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("")), + s.replace ( TQRegExp( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("")), + s.replace ( TQRegExp( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("")), + s.replace ( TQRegExp( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("")), + s.replace ( TQRegExp( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("")), + s.replace ( TQRegExp( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("")), + s.replace ( TQRegExp( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp( TQString::tqfromLatin1("")), + s.replace ( TQRegExp( TQString::tqfromLatin1("")), TQString::tqfromLatin1("\\2")); //okay now change the to //0-9 are size 1 - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")), + s.replace ( TQRegExp ( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); //10-11 are size 2 - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")), + s.replace ( TQRegExp ( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); //12-13 are size 3 - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")), + s.replace ( TQRegExp ( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); //14-16 are size 4 - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")), + s.replace ( TQRegExp ( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); //17-22 are size 5 - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")), + s.replace ( TQRegExp ( TQString::tqfromLatin1("")), TQString::tqfromLatin1("")); //23-29 are size 6 - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")),TQString::tqfromLatin1("")); + s.replace ( TQRegExp ( TQString::tqfromLatin1("")),TQString::tqfromLatin1("")); //30- (and any I missed) are size 7 - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")),TQString::tqfromLatin1("")); + s.replace ( TQRegExp ( TQString::tqfromLatin1("")),TQString::tqfromLatin1("")); - s.tqreplace ( TQRegExp ( TQString::tqfromLatin1("")), TQString::tqfromLatin1("
") ); + s.replace ( TQRegExp ( TQString::tqfromLatin1("")), TQString::tqfromLatin1("
") ); kdDebug(14190) << k_funcinfo << "sending " << s << endl; @@ -280,7 +280,7 @@ TQString AIMAccount::sanitizedMessage( const TQString& message ) continue; if ( fontEl.hasAttribute( "back" ) ) { - kdDebug(OSCAR_AIM_DEBUG) << k_funcinfo << "Found attribute to tqreplace. Doing replacement" << endl; + kdDebug(OSCAR_AIM_DEBUG) << k_funcinfo << "Found attribute to replace. Doing replacement" << endl; TQString backgroundColor = fontEl.attribute( "back" ); backgroundColor.insert( 0, "background-color: " ); backgroundColor.append( ';' ); -- cgit v1.2.1