summaryrefslogtreecommitdiffstats
path: root/kppp/ppplog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /kppp/ppplog.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
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
Diffstat (limited to 'kppp/ppplog.cpp')
-rw-r--r--kppp/ppplog.cpp8
1 files changed, 4 insertions, 4 deletions
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) {