diff options
Diffstat (limited to 'kpackage/packageProperties.cpp')
-rw-r--r-- | kpackage/packageProperties.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpackage/packageProperties.cpp b/kpackage/packageProperties.cpp index c613a23..2062a79 100644 --- a/kpackage/packageProperties.cpp +++ b/kpackage/packageProperties.cpp @@ -126,7 +126,7 @@ void packagePropertiesWidget::changePackage(packageInfo *p) // append other properties to end TQMap<TQString, TQString>::Iterator it; for ( it = p->info.begin(); it != p->info.end(); ++it ) { - if (!trl.tqfind(it.key())) { + if (!trl.find(it.key())) { if (!it.data().isEmpty()) cList.append(it.key()); } @@ -154,11 +154,11 @@ void packagePropertiesWidget::changePackage(packageInfo *p) stmp += "</td><td>"; TQString f = p->getProperty(*s); if (*s == "maintainer" || *s == "packager") { - f.tqreplace(TQRegExp("<"),"<"); - f.tqreplace(TQRegExp(">"),">"); + f.replace(TQRegExp("<"),"<"); + f.replace(TQRegExp(">"),">"); } if (*s == "filename") { - int p = f.tqfindRev("/"); + int p = f.findRev("/"); if (p >= 0) { f.insert(p+1,"\n"); }; @@ -211,7 +211,7 @@ void packagePropertiesWidget::dor(const TQString &f) { } void packagePropertiesWidget::delement(const TQString &f) { - int n = f.tqfind("("); + int n = f.find("("); if (n < 0) { n = f.length(); } @@ -222,9 +222,9 @@ void packagePropertiesWidget::delement(const TQString &f) { TQString us = uf + package->interface->typeID; bool inst = false, uninst = false; - if (kpackage->management->dirInstPackages->tqfind(us)) { + if (kpackage->management->dirInstPackages->find(us)) { inst = true; - } else if (kpackage->management->dirUninstPackages->tqfind(us)) { + } else if (kpackage->management->dirUninstPackages->find(us)) { uninst = true; } @@ -242,7 +242,7 @@ void packagePropertiesWidget::delement(const TQString &f) { if (uninst) stmp += "</i>"; if (n < (signed)f.length()) - stmp += f.mid(n).tqreplace(TQRegExp("<"),"<"); + stmp += f.mid(n).replace(TQRegExp("<"),"<"); } void packagePropertiesWidget::setSource(const TQString &name) { @@ -262,12 +262,12 @@ void packagePropertiesWidget::setSource(const TQString &name) { } TQString ind = s + package->interface->typeID; - packageInfo *p = kpackage->management->dirInstPackages->tqfind(ind); + packageInfo *p = kpackage->management->dirInstPackages->find(ind); if (p) { kpackage->management->treeList->changePack(p->getItem(), package->getItem() != 0); } else { kdDebug() << "nfound=" << ind << endl; - p = kpackage->management->dirUninstPackages->tqfind(ind); + p = kpackage->management->dirUninstPackages->find(ind); if (p) { kpackage->management->treeList->changePack(p->getItem(), package->getItem() != 0); } else { |