diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 937b2991d8e78166eea904c80ad04d34607017a4 (patch) | |
tree | 2accb8161eab09df5d7a5484ea9ea080ad123168 /kpf/src/Request.cpp | |
parent | dba26cb985af370c33d1767037851705cc561726 (diff) | |
download | tdenetwork-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 'kpf/src/Request.cpp')
-rw-r--r-- | kpf/src/Request.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpf/src/Request.cpp b/kpf/src/Request.cpp index 886aac44..702b4989 100644 --- a/kpf/src/Request.cpp +++ b/kpf/src/Request.cpp @@ -56,7 +56,7 @@ namespace KPF { TQString line(*it); - int colonPos = line.tqfind(':'); + int colonPos = line.find(':'); if (-1 != colonPos) { @@ -114,7 +114,7 @@ namespace KPF s.remove(0, 5); - int dotPos = s.tqfind('.'); + int dotPos = s.find('.'); if (-1 != dotPos) { @@ -367,7 +367,7 @@ namespace KPF // Double slash -> slash. TQRegExp r("\\/\\/+"); - s.tqreplace(r, "/"); + s.replace(r, "/"); return s; } |