diff options
Diffstat (limited to 'knode/knstringfilter.cpp')
-rw-r--r-- | knode/knstringfilter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/knode/knstringfilter.cpp b/knode/knstringfilter.cpp index 3f866902b..1570da040 100644 --- a/knode/knstringfilter.cpp +++ b/knode/knstringfilter.cpp @@ -47,7 +47,7 @@ bool KNStringFilter::doFilter(const TQString &s) TQRegExp matcher(expanded); ret = ( matcher.search(s) >= 0 ); } else - ret=(s.find(expanded,0,false)!=-1); + ret=(s.tqfind(expanded,0,false)!=-1); if(!con) ret=!ret; } @@ -57,7 +57,7 @@ bool KNStringFilter::doFilter(const TQString &s) -// tqreplace placeholders +// replace placeholders void KNStringFilter::expand(KNGroup *g) { KNConfig::Identity *id = (g) ? g->identity() : 0; @@ -94,8 +94,8 @@ void KNStringFilter::save(KSimpleConfig *conf) //=============================================================================== -KNStringFilterWidget::KNStringFilterWidget(const TQString& title, TQWidget *parent) - : TQGroupBox(title, parent) +KNStringFilterWidget::KNStringFilterWidget(const TQString& title, TQWidget *tqparent) + : TQGroupBox(title, tqparent) { fType=new TQComboBox(this); fType->insertItem(i18n("Does Contain")); |