summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/torrent/bdict.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kfile-plugins/torrent/bdict.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/torrent/bdict.h')
-rw-r--r--kfile-plugins/torrent/bdict.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kfile-plugins/torrent/bdict.h b/kfile-plugins/torrent/bdict.h
index 77516c7f..b50e46eb 100644
--- a/kfile-plugins/torrent/bdict.h
+++ b/kfile-plugins/torrent/bdict.h
@@ -20,7 +20,7 @@
#define _BDICT_H
#include <tqdict.h>
-#include <tqcstring.h> // QByteArray
+#include <tqcstring.h> // TQByteArray
#include "bytetape.h"
#include "bbase.h"
@@ -106,7 +106,7 @@ class BDict : public BBase
* @return true, if there is a value for the @p key in the
* dictionary, false otherwise
*/
- virtual bool contains (const char *key) { return m_map.find(key) != 0; }
+ virtual bool tqcontains (const char *key) { return m_map.tqfind(key) != 0; }
/**
* Returns a pointer to the BBase descendant keyed by @p key. You
@@ -118,7 +118,7 @@ class BDict : public BBase
* matches the key
* @see BBase
*/
- virtual BBase *find (const char *key) { return m_map.find(key); }
+ virtual BBase *tqfind (const char *key) { return m_map.tqfind(key); }
/**
* Convienience function to find and return a BInt keyed by @p key.