summaryrefslogtreecommitdiffstats
path: root/kdeui/klistviewsearchline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/klistviewsearchline.cpp')
-rw-r--r--kdeui/klistviewsearchline.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeui/klistviewsearchline.cpp b/kdeui/klistviewsearchline.cpp
index 6a73f9e38..fb02a8259 100644
--- a/kdeui/klistviewsearchline.cpp
+++ b/kdeui/klistviewsearchline.cpp
@@ -214,14 +214,14 @@ bool KListViewSearchLine::itemMatches(const TQListViewItem *item, const TQString
TQValueList<int>::ConstIterator it = d->searchColumns.begin();
for(; it != d->searchColumns.end(); ++it) {
if(*it < item->listView()->columns() &&
- item->text(*it).tqfind(s, 0, d->caseSensitive) >= 0)
+ item->text(*it).find(s, 0, d->caseSensitive) >= 0)
return true;
}
}
else {
for(int i = 0; i < item->listView()->columns(); i++) {
if(item->listView()->columnWidth(i) > 0 &&
- item->text(i).tqfind(s, 0, d->caseSensitive) >= 0)
+ item->text(i).find(s, 0, d->caseSensitive) >= 0)
{
return true;
}
@@ -260,7 +260,7 @@ TQPopupMenu *KListViewSearchLine::createPopupMenu()
columnText = i18n("Column number %1","Column No. %1").arg(visiblePosition);
}
subMenu->insertItem(columnText, visibleColumns);
- if(d->searchColumns.isEmpty() || d->searchColumns.tqfind(i) != d->searchColumns.end())
+ if(d->searchColumns.isEmpty() || d->searchColumns.find(i) != d->searchColumns.end())
subMenu->setItemChecked(visibleColumns, true);
else
allColumnsAreSearchColumns = false;
@@ -320,7 +320,7 @@ void KListViewSearchLine::searchColumnsMenuActivated(int id)
d->searchColumns.clear();
}
else {
- if(d->searchColumns.tqfind(id) != d->searchColumns.end())
+ if(d->searchColumns.find(id) != d->searchColumns.end())
d->searchColumns.remove(id);
else {
if(d->searchColumns.isEmpty()) {