diff options
Diffstat (limited to 'kcontrol/samba/kcmsambaimports.cpp')
-rw-r--r-- | kcontrol/samba/kcmsambaimports.cpp | 14 |
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); }; |