summaryrefslogtreecommitdiffstats
path: root/kpackage/findf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/findf.cpp')
-rw-r--r--kpackage/findf.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpackage/findf.cpp b/kpackage/findf.cpp
index 651b50f..84b0d7c 100644
--- a/kpackage/findf.cpp
+++ b/kpackage/findf.cpp
@@ -47,7 +47,7 @@ FindF::FindF(TQWidget *tqparent)
: KDialogBase(tqparent, "find_file", false,
i18n("Find File"),
User1 | Close, User1, true,
- KGuiItem(i18n("&Find"),"filetqfind"))
+ KGuiItem(i18n("&Find"),"filefind"))
{
tick = UserIcon("ptick");
@@ -81,7 +81,7 @@ FindF::FindF(TQWidget *tqparent)
tab->setAllColumnsShowFocus(TRUE);
tab->setSorting(1);
- if (kpackage->management->dirInstPackages->tqfind("apt-file/deb")) {
+ if (kpackage->management->dirInstPackages->find("apt-file/deb")) {
searchAll = new TQCheckBox(i18n("Also search uninstalled packages"), frame1, "searchAll");
} else {
searchAll = new TQCheckBox(i18n("Also search uninstalled packages (apt-file needs to be installed)"), frame1, "searchAll");
@@ -150,11 +150,11 @@ void FindF::doFind(const TQString &str)
cnt++;
for ( TQStringList::Iterator it = filelist.begin(); it != filelist.end(); ++it ) {
- if ((*it).tqfind("diversion by") >= 0) {
+ if ((*it).find("diversion by") >= 0) {
new TQListViewItem(tab, "", *it);
}
- int t1 = (*it).tqfind('\t');
+ int t1 = (*it).find('\t');
TQString s1 = (*it).left(t1);
TQString s2 = (*it).right((*it).length()-t1);
s2 = s2.stripWhiteSpace();
@@ -162,7 +162,7 @@ void FindF::doFind(const TQString &str)
TQListViewItem *ql = new TQListViewItem(tab, "", kpinterface[i]->name, kpinterface[i]->head, s1, s2);
TQString tx = s1 + kpinterface[i]->typeID;
- if (kpackage->management->dirInstPackages->tqfind(tx)) {
+ if (kpackage->management->dirInstPackages->find(tx)) {
ql->setPixmap(0,tick);
}
}
@@ -193,7 +193,7 @@ void FindF::search(TQListViewItem *item)
s = s.stripWhiteSpace();
kdDebug() << "searchF=" << s << "\n";
- p = s.tqfind(',');
+ p = s.find(',');
if (p > 0) {
s.truncate(p);
}