summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp')
-rw-r--r--umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp b/umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp
index 8831e6f3..f46b9270 100644
--- a/umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp
+++ b/umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp
@@ -29,7 +29,7 @@
#include <string.h>
const HashEntry* Lookup::findEntry( const struct HashTable *table,
- const QChar *c, unsigned int len )
+ const TQChar *c, unsigned int len )
{
if (table->type != 2) {
kdDebug() << "KJS: Unknown hash table version" << endl;
@@ -69,13 +69,13 @@ const HashEntry* Lookup::findEntry( const struct HashTable *table,
}
const HashEntry* Lookup::findEntry( const struct HashTable *table,
- const QString &s )
+ const TQString &s )
{
return findEntry( table, s.unicode(), s.length() );
}
int Lookup::find(const struct HashTable *table,
- const QChar *c, unsigned int len)
+ const TQChar *c, unsigned int len)
{
const HashEntry *entry = findEntry( table, c, len );
if (entry)
@@ -83,12 +83,12 @@ int Lookup::find(const struct HashTable *table,
return -1;
}
-int Lookup::find(const struct HashTable *table, const QString &s)
+int Lookup::find(const struct HashTable *table, const TQString &s)
{
return find(table, s.unicode(), s.length());
}
-unsigned int Lookup::hash(const QChar *c, unsigned int len)
+unsigned int Lookup::hash(const TQChar *c, unsigned int len)
{
unsigned int val = 0;
// ignoring rower byte
@@ -98,7 +98,7 @@ unsigned int Lookup::hash(const QChar *c, unsigned int len)
return val;
}
-unsigned int Lookup::hash(const QString &key)
+unsigned int Lookup::hash(const TQString &key)
{
return hash(key.unicode(), key.length());
}