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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
index 0958b801..2b4d7360 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
@@ -77,7 +77,7 @@ void DBItemMainData::write(TQDataStream *s)
void DBItemMainData::addTranslation(TQString str, unsigned int ref)
{
//get();
- if(translations[str].tqfind(ref)==translations[str].end()) // If it do not exists
+ if(translations[str].find(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().tqfind(ref)!=it2.data().end())
+ if(it2.data().find(ref)!=it2.data().end())
removeTranslation(it2.key(),ref);
}
@@ -142,7 +142,7 @@ list.clear();
void DBItemMultiIndex::addEntry(unsigned int index)
{
// get();
- if(list.tqfind(index)==list.end())
+ if(list.find(index)==list.end())
{
list.append(index);
qHeapSort(list);