summaryrefslogtreecommitdiffstats
path: root/kcontrol/samba/kcmsambaimports.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
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kcontrol/samba/kcmsambaimports.cpp
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/samba/kcmsambaimports.cpp')
-rw-r--r--kcontrol/samba/kcmsambaimports.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/samba/kcmsambaimports.cpp b/kcontrol/samba/kcmsambaimports.cpp
index 0c9a5d3fd..fd31f7800 100644
--- a/kcontrol/samba/kcmsambaimports.cpp
+++ b/kcontrol/samba/kcmsambaimports.cpp
@@ -74,16 +74,16 @@ void ImportsView::updateList()
if (e!=0)
{
s=buf;
- if ((s.tqcontains(" nfs ")) || (s.tqcontains(" smbfs ")))
+ if ((s.contains(" nfs ")) || (s.contains(" smbfs ")))
{
- strSource=s.left(s.tqfind(" on /"));
- strMount=s.mid(s.tqfind(" on /")+4,s.length());
- if ((s.tqcontains(" nfs ")) || (s.tqcontains("/remote on ")))
+ strSource=s.left(s.find(" on /"));
+ strMount=s.mid(s.find(" on /")+4,s.length());
+ if ((s.contains(" nfs ")) || (s.contains("/remote on ")))
strType="NFS";
- else if (s.tqcontains(" smbfs "))
+ else if (s.contains(" smbfs "))
strType="SMB";
- int pos(strMount.tqfind(" type "));
- if (pos==-1) pos=strMount.tqfind(" read/");
+ int pos(strMount.find(" type "));
+ if (pos==-1) pos=strMount.find(" read/");
strMount=strMount.left(pos);
new TQListViewItem(&list,strType,strSource,strMount);
};