summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp')
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
index f375574c..123935e7 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
@@ -389,7 +389,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
if(!found && matchContains && !wholeWords)
{
- TQString s=tqmaskString(searchStr);
+ TQString s=maskString(searchStr);
TQRegExp searchReg(s);
if(searchReg.search(origStr) >= 0)
@@ -398,7 +398,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
if(!found && matchIsContained && !wholeWords)
{
- TQString s=tqmaskString(origStr);
+ TQString s=maskString(origStr);
TQRegExp reg(s);
if(reg.search(searchStr) >= 0)
@@ -413,7 +413,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
for ( TQStringList::Iterator wit2 = list.begin()
; wit2 != list.end(); ++wit2 )
{
- TQString s=tqmaskString(*wit2);
+ TQString s=maskString(*wit2);
TQRegExp reg(s);
if(reg.search(origStr) >= 0)
@@ -454,7 +454,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
TQRegExp searchReg;
if(matchContains)
{
- TQString s=tqmaskString(searchStr);
+ TQString s=maskString(searchStr);
searchReg.setPattern(s);
}
@@ -523,7 +523,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
if(!found && matchIsContained)
{
- TQString s=tqmaskString(origStr);
+ TQString s=maskString(origStr);
TQRegExp reg(s);
if(reg.search(searchStr) >= 0)
@@ -538,7 +538,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
for ( TQStringList::Iterator wit2 = list.begin()
; wit2 != list.end(); ++wit2 )
{
- TQString s=tqmaskString(*wit2);
+ TQString s=maskString(*wit2);
if(wholeWords)
{
@@ -746,7 +746,7 @@ void TmxCompendium::recheckData()
loading=false;
}
-TQString TmxCompendium::tqmaskString(TQString s) const
+TQString TmxCompendium::maskString(TQString s) const
{
s.tqreplace('\\',"\\\\");
s.tqreplace('?',"\\?");