summaryrefslogtreecommitdiffstats
path: root/kamera/kioslave/kamera.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
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /kamera/kioslave/kamera.cpp
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz
tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kamera/kioslave/kamera.cpp')
-rw-r--r--kamera/kioslave/kamera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kamera/kioslave/kamera.cpp b/kamera/kioslave/kamera.cpp
index 05917e3c..4ef47238 100644
--- a/kamera/kioslave/kamera.cpp
+++ b/kamera/kioslave/kamera.cpp
@@ -574,7 +574,7 @@ void KameraProtocol::listDir(const KURL &url)
gp_list_free (list);
/* Avoid duplicated entry for usb: and usb:001,042 entries. */
- if (ports.tqcontains("usb:") && names[ports["usb:"]]!="usb:")
+ if (ports.contains("usb:") && names[ports["usb:"]]!="usb:")
ports.remove("usb:");
for (it = groupList.begin(); it != groupList.end(); it++) {
@@ -606,7 +606,7 @@ void KameraProtocol::listDir(const KURL &url)
xurl.setProtocol("camera");
xurl.setUser(*it);
/* Avoid setting usb:xxx,yyy. */
- if (m_cfgPath.tqcontains("usb:")>0) {
+ if (m_cfgPath.contains("usb:")>0) {
names[*it] = "usb:";
xurl.setHost("usb:");
} else {