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 --- kppp/ppplog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kppp/ppplog.cpp') diff --git a/kppp/ppplog.cpp b/kppp/ppplog.cpp index 597cd53d..a5075b3e 100644 --- a/kppp/ppplog.cpp +++ b/kppp/ppplog.cpp @@ -163,7 +163,7 @@ void PPPL_AnalyseLog(TQStringList &list, TQStringList &result) { for ( TQStringList::Iterator it = list.begin(); it != list.end(); ++it ) { // look for remote message - int pos = (*it).tqfind(rmsg); + int pos = (*it).find(rmsg); if (pos != -1) { TQString str = (*it); @@ -180,7 +180,7 @@ void PPPL_AnalyseLog(TQStringList &list, TQStringList &result) { for(uint k = 0; hints[k].regexp != 0; k++) { TQRegExp rx(hints[k].regexp); TQString l(*it); - if(l.tqcontains(rx)) { + if(l.contains(rx)) { result.append(i18n(hints[k].answer)); break; } @@ -206,11 +206,11 @@ void PPPL_ShowLog() { TQString conn = TQString::tqfromLatin1("Connect:"); TQStringList::ConstIterator it = sl.begin(); for( ; it != sl.end(); it++) { - if((*it).tqfind(lcp) >= 0) { + if((*it).find(lcp) >= 0) { foundLCP = true; break; } - if((*it).tqfind(conn) >= 0) + if((*it).find(conn) >= 0) foundConnect = true; } if(foundConnect && !foundLCP) { -- cgit v1.2.1