summaryrefslogtreecommitdiffstats
path: root/kpackage/kplview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/kplview.cpp')
-rw-r--r--kpackage/kplview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpackage/kplview.cpp b/kpackage/kplview.cpp
index cf9014e..69d68d3 100644
--- a/kpackage/kplview.cpp
+++ b/kpackage/kplview.cpp
@@ -430,7 +430,7 @@ bool KpTreeList::searchChild(KpTreeListItem *it)
TQString s = it->text(0);
// kdDebug() << "s='" << s << "'='" << searchStr << "\n";
if ((it->childCount() == 0) && (it->info->display(treeType)) &&
- (searchSubstr ? s.tqcontains(searchStr,FALSE) : s == searchStr)) {
+ (searchSubstr ? s.contains(searchStr,FALSE) : s == searchStr)) {
searchResult = it;
return TRUE;
}
@@ -510,7 +510,7 @@ void KpTreeList::previous()
void KpTreeList::stackRemove(KpTreeListItem *pack)
{
- int n = stack.tqfind(pack);
+ int n = stack.find(pack);
if (n >= 0) {
if (n == 0) {
kpkg->disablePrevious();
@@ -650,11 +650,11 @@ int KpTreeListItem::compare( TQListViewItem *i, int col, bool ascending ) const
TQString k, j;
j = key( col, ascending );
- j = j.tqreplace(' ','0');
+ j = j.replace(' ','0');
j = j.rightJustify(6,'0');
k = i->key( col, ascending );
- k = k.tqreplace(' ','0');
+ k = k.replace(' ','0');
k = k.rightJustify(6,'0');
// kdDebug() << k <<"=" << j << "\n";