summaryrefslogtreecommitdiffstats
path: root/knode/kngroupbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kngroupbrowser.cpp')
-rw-r--r--knode/kngroupbrowser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knode/kngroupbrowser.cpp b/knode/kngroupbrowser.cpp
index c3ab27d98..584eae40c 100644
--- a/knode/kngroupbrowser.cpp
+++ b/knode/kngroupbrowser.cpp
@@ -217,7 +217,7 @@ void KNGroupBrowser::createListItems(TQListViewItem *tqparent)
compare=gn->name.mid(prefix.length());
if(!expandit || !compare.startsWith(tlgn)) {
- if((colon=compare.tqfind('.'))!=-1) {
+ if((colon=compare.find('.'))!=-1) {
colon++;
expandit=true;
} else {
@@ -316,7 +316,7 @@ void KNGroupBrowser::slotFilter(const TQString &txt)
bool notCheckNew = !newCB->isChecked();
bool notCheckStr = (filtertxt.isEmpty());
- bool isRegexp = filtertxt.tqcontains(TQRegExp("[^a-z0-9\\-\\+.]"));
+ bool isRegexp = filtertxt.contains(TQRegExp("[^a-z0-9\\-\\+.]"));
bool doIncrementalUpdate = (!isRegexp && incrementalFilter && (filtertxt.left(lastFilter.length())==lastFilter));
@@ -327,7 +327,7 @@ void KNGroupBrowser::slotFilter(const TQString &txt)
for(KNGroupInfo *g=matchList->first(); g; g=matchList->next()) {
if ((notCheckSub||g->subscribed)&&
(notCheckNew||g->newGroup)&&
- (notCheckStr||(g->name.tqfind(filtertxt)!=-1)))
+ (notCheckStr||(g->name.find(filtertxt)!=-1)))
tempList->append(g);
}
@@ -339,7 +339,7 @@ void KNGroupBrowser::slotFilter(const TQString &txt)
for(KNGroupInfo *g=allList->first(); g; g=allList->next()) {
if ((notCheckSub||g->subscribed)&&
(notCheckNew||g->newGroup)&&
- (notCheckStr||(isRegexp? (reg.search(g->name,0) != -1):(g->name.tqfind(filtertxt)!=-1))))
+ (notCheckStr||(isRegexp? (reg.search(g->name,0) != -1):(g->name.find(filtertxt)!=-1))))
matchList->append(g);
}
}
@@ -411,7 +411,7 @@ KNGroupBrowser::CheckItem::CheckItem(TQListView *v, const KNGroupInfo &gi, KNGro
TQString des(gi.description);
if (gi.status == KNGroup::moderated) {
setText(0,gi.name+" (m)");
- if (!des.upper().tqcontains(i18n("moderated").upper()))
+ if (!des.upper().contains(i18n("moderated").upper()))
des+=i18n(" (moderated)");
}
setText(1,des);
@@ -424,7 +424,7 @@ KNGroupBrowser::CheckItem::CheckItem(TQListViewItem *i, const KNGroupInfo &gi, K
TQString des(gi.description);
if (gi.status == KNGroup::moderated) {
setText(0,gi.name+" (m)");
- if (!des.upper().tqcontains(i18n("moderated").upper()))
+ if (!des.upper().contains(i18n("moderated").upper()))
des+=i18n(" (moderated)");
}
setText(1,des);