From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: 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 --- juk/stringhash.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'juk/stringhash.h') 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 inline int hashString(const StringType &s) @@ -227,7 +227,7 @@ bool Hash::insert(T value) } template -bool Hash::contains(T value) const +bool Hash::tqcontains(T value) const { int h = hash(value); Node *i = m_table[h]; -- cgit v1.2.1