summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
index efa7e44d..0958b801 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
@@ -71,13 +71,13 @@ void DBItemMainData::read(TQDataStream *s)
void DBItemMainData::write(TQDataStream *s)
{
- *s << (Q_UINT32)indexnumber << translations;
+ *s << (TQ_UINT32)indexnumber << translations;
}
void DBItemMainData::addTranslation(TQString str, unsigned int ref)
{
//get();
- if(translations[str].find(ref)==translations[str].end()) // If it do not exists
+ if(translations[str].tqfind(ref)==translations[str].end()) // If it do not exists
translations[str].append(ref); //add a new reference.
else
{
@@ -106,7 +106,7 @@ TQMapIterator<TQString,TQValueList<unsigned int> > it2;
{ //Dirty hack
it2=it;
it++;
- if(it2.data().find(ref)!=it2.data().end())
+ if(it2.data().tqfind(ref)!=it2.data().end())
removeTranslation(it2.key(),ref);
}
@@ -142,7 +142,7 @@ list.clear();
void DBItemMultiIndex::addEntry(unsigned int index)
{
// get();
- if(list.find(index)==list.end())
+ if(list.tqfind(index)==list.end())
{
list.append(index);
qHeapSort(list);