summaryrefslogtreecommitdiffstats
path: root/kppp/ppplog.cpp
diff options
context:
space:
mode:
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) {