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 /kfile-plugins/torrent/bdict.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 'kfile-plugins/torrent/bdict.cpp')
-rw-r--r-- | kfile-plugins/torrent/bdict.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kfile-plugins/torrent/bdict.cpp b/kfile-plugins/torrent/bdict.cpp index f19c70b9..75bda831 100644 --- a/kfile-plugins/torrent/bdict.cpp +++ b/kfile-plugins/torrent/bdict.cpp @@ -114,7 +114,7 @@ BDict::~BDict () BInt *BDict::findInt (const char *key) { - BBase *base = tqfind(key); + BBase *base = find(key); if (base && base->type_id() == bInt) return dynamic_cast<BInt*>(base); @@ -124,7 +124,7 @@ BInt *BDict::findInt (const char *key) BList *BDict::findList (const char *key) { - BBase *base = tqfind(key); + BBase *base = find(key); if (base && base->type_id() == bList) return dynamic_cast<BList*>(base); @@ -134,7 +134,7 @@ BList *BDict::findList (const char *key) BDict *BDict::findDict (const char *key) { - BBase *base = tqfind(key); + BBase *base = find(key); if (base && base->type_id() == bDict) return dynamic_cast<BDict*>(base); @@ -144,7 +144,7 @@ BDict *BDict::findDict (const char *key) BString *BDict::findStr (const char *key) { - BBase *base = tqfind(key); + BBase *base = find(key); if (base && base->type_id() == bString) return dynamic_cast<BString*>(base); @@ -199,7 +199,7 @@ bool BDict::writeToDevice(TQIODevice &device) device.writeBlock(utfString.data(), utfString.size() - 1); // Write out the key's data - BBase *base = m_map.tqfind(*key_iter); + BBase *base = m_map.find(*key_iter); if (!base->writeToDevice (device)) return false; } |