summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa
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 /lanbrowsing/kcmlisa
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 'lanbrowsing/kcmlisa')
-rw-r--r--lanbrowsing/kcmlisa/findnic.cpp4
-rw-r--r--lanbrowsing/kcmlisa/setupwizard.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lanbrowsing/kcmlisa/findnic.cpp b/lanbrowsing/kcmlisa/findnic.cpp
index 7de4b19c..61996018 100644
--- a/lanbrowsing/kcmlisa/findnic.cpp
+++ b/lanbrowsing/kcmlisa/findnic.cpp
@@ -192,8 +192,8 @@ NICList* findNICs()
void suggestSettingsForAddress(const TQString& addrMask, LisaConfigInfo& lci)
{
- TQString ip=addrMask.left(addrMask.tqfind("/"));
- TQString tqmask=addrMask.mid(addrMask.tqfind("/")+1);
+ TQString ip=addrMask.left(addrMask.find("/"));
+ TQString tqmask=addrMask.mid(addrMask.find("/")+1);
if (tqmask[tqmask.length()-1]==';')
tqmask=tqmask.left(tqmask.length()-1);
diff --git a/lanbrowsing/kcmlisa/setupwizard.cpp b/lanbrowsing/kcmlisa/setupwizard.cpp
index ab73259c..82873c00 100644
--- a/lanbrowsing/kcmlisa/setupwizard.cpp
+++ b/lanbrowsing/kcmlisa/setupwizard.cpp
@@ -546,7 +546,7 @@ void SetupWizard::checkIPAddress(const TQString& addr)
TQString address=addr.simplifyWhiteSpace();
TQRegExp regex("^\\d+\\.\\d+\\.\\d+\\.\\d+\\s*/\\s*\\d+\\.\\d+\\.\\d+\\.\\d+$");
setNextEnabled(m_noNicPage, (regex.search(address,0)!=-1));
-// setNextEnabled(m_noNicPage, (regex.tqfind(address,0)!=-1));
+// setNextEnabled(m_noNicPage, (regex.find(address,0)!=-1));
}
void SetupWizard::applyLisaConfigInfo(LisaConfigInfo& lci)