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/accounting.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kppp/accounting.cpp') diff --git a/kppp/accounting.cpp b/kppp/accounting.cpp index b9280eda..6ee8ee45 100644 --- a/kppp/accounting.cpp +++ b/kppp/accounting.cpp @@ -384,11 +384,11 @@ void ExecutableAccounting::gotData(KProcess */*proc*/, char *buffer, int /*bufle // split string TQString b(buffer); - pos = b.tqfind(':'); + pos = b.find(':'); while(pos != -1 && nFields < 8) { field[nFields++] = b.mid(last_pos, pos-last_pos); last_pos = pos+1; - pos = b.tqfind(':', last_pos); + pos = b.find(':', last_pos); } for(int i = 0; i < nFields;i++) @@ -398,9 +398,9 @@ void ExecutableAccounting::gotData(KProcess */*proc*/, char *buffer, int /*bufle TQString s(buffer); int del1, del2, del3; - del1 = s.tqfind(':'); - del2 = s.tqfind(':', del1+1); - del3 = s.tqfind(':', del2+1); + del1 = s.find(':'); + del2 = s.find(':', del1+1); + del3 = s.find(':', del2+1); if(del1 == -1 || del2 == -1 || del3 == -1) { // TODO: do something usefull here return; -- cgit v1.2.1