summaryrefslogtreecommitdiffstats
path: root/kcontrol/samba/kcmsambaimports.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kcontrol/samba/kcmsambaimports.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 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 fd31f7800..0c9a5d3fd 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.contains(" nfs ")) || (s.contains(" smbfs ")))
+ if ((s.tqcontains(" nfs ")) || (s.tqcontains(" smbfs ")))
{
- strSource=s.left(s.find(" on /"));
- strMount=s.mid(s.find(" on /")+4,s.length());
- if ((s.contains(" nfs ")) || (s.contains("/remote on ")))
+ strSource=s.left(s.tqfind(" on /"));
+ strMount=s.mid(s.tqfind(" on /")+4,s.length());
+ if ((s.tqcontains(" nfs ")) || (s.tqcontains("/remote on ")))
strType="NFS";
- else if (s.contains(" smbfs "))
+ else if (s.tqcontains(" smbfs "))
strType="SMB";
- int pos(strMount.find(" type "));
- if (pos==-1) pos=strMount.find(" read/");
+ int pos(strMount.tqfind(" type "));
+ if (pos==-1) pos=strMount.tqfind(" read/");
strMount=strMount.left(pos);
new TQListViewItem(&list,strType,strSource,strMount);
};