summaryrefslogtreecommitdiffstats
path: root/juk/stringhash.h
diff options
context:
space:
mode:
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];