diff options
Diffstat (limited to 'kfile-plugins/torrent/bdict.cpp')
-rw-r--r-- | kfile-plugins/torrent/bdict.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kfile-plugins/torrent/bdict.cpp b/kfile-plugins/torrent/bdict.cpp index 4819165c..f19c70b9 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 = find(key); + BBase *base = tqfind(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 = find(key); + BBase *base = tqfind(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 = find(key); + BBase *base = tqfind(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 = find(key); + BBase *base = tqfind(key); if (base && base->type_id() == bString) return dynamic_cast<BString*>(base); @@ -159,7 +159,7 @@ bool BDict::writeToDevice(TQIODevice &device) const char *d_str = "d"; const char *e_str = "e"; - Q_LONG written = 0, result = 0; + TQ_LONG written = 0, result = 0; written = device.writeBlock (d_str, 1); while (written < 1) @@ -188,7 +188,7 @@ bool BDict::writeToDevice(TQIODevice &device) for (key_iter = key_list.begin(); key_iter != key_list.end(); ++key_iter) { TQCString utfString = (*key_iter).utf8(); - TQString str = TQString("%1:").arg(utfString.size() - 1); + TQString str = TQString("%1:").tqarg(utfString.size() - 1); TQCString lenString = str.utf8(); @@ -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.find(*key_iter); + BBase *base = m_map.tqfind(*key_iter); if (!base->writeToDevice (device)) return false; } |