summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/torrent/bstring.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
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /kfile-plugins/torrent/bstring.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-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 'kfile-plugins/torrent/bstring.cpp')
-rw-r--r--kfile-plugins/torrent/bstring.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kfile-plugins/torrent/bstring.cpp b/kfile-plugins/torrent/bstring.cpp
index acf16190..258c97c7 100644
--- a/kfile-plugins/torrent/bstring.cpp
+++ b/kfile-plugins/torrent/bstring.cpp
@@ -44,15 +44,15 @@ void BString::init (ByteTape &tape)
{
TQByteArray &dict(tape.data());
- if (dict.tqfind(':', tape.pos()) == -1)
+ if (dict.find(':', tape.pos()) == -1)
{
- kdDebug(7034) << "Can't tqfind : for string!" << endl;
+ kdDebug(7034) << "Can't find : for string!" << endl;
return;
}
// Copy the part from start to :, as it will be a number
// That number is the number of characters to read
- int length = dict.tqfind(':', tape.pos()) - tape.pos();
+ int length = dict.find(':', tape.pos()) - tape.pos();
char *ptr = dict.data();
ptr += tape.pos();