summaryrefslogtreecommitdiffstats
path: root/juk/stringhash.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /juk/stringhash.h
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/stringhash.h')
-rw-r--r--juk/stringhash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/juk/stringhash.h b/juk/stringhash.h
index 0d3c43bb..11ac3d7b 100644
--- a/juk/stringhash.h
+++ b/juk/stringhash.h
@@ -42,7 +42,7 @@ public:
/**
* Returns true if the set contains the item \a value.
*/
- bool contains(T value) const;
+ bool tqcontains(T value) const;
/**
* Removes an item. Returns true if the item was present and false if not.
@@ -118,7 +118,7 @@ protected:
inline char hashStringAccess(const TQString &in, int index)
{
- return in.unicode()[index].cell();
+ return in.tqunicode()[index].cell();
}
inline char hashStringAccess(const TQCString &in, int index)
@@ -126,7 +126,7 @@ inline char hashStringAccess(const TQCString &in, int index)
return in[index];
}
-// Based on QGDict's hash functions, Copyright (C) 1992-2000 Trolltech AS
+// Based on TQGDict's hash functions, Copyright (C) 1992-2000 Trolltech AS
template <typename StringType>
inline int hashString(const StringType &s)
@@ -227,7 +227,7 @@ bool Hash<T>::insert(T value)
}
template <class T>
-bool Hash<T>::contains(T value) const
+bool Hash<T>::tqcontains(T value) const
{
int h = hash(value);
Node *i = m_table[h];