diff options
Diffstat (limited to 'kpackage/gentooInterface.cpp')
-rw-r--r-- | kpackage/gentooInterface.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpackage/gentooInterface.cpp b/kpackage/gentooInterface.cpp index 448b74c..22eaefc 100644 --- a/kpackage/gentooInterface.cpp +++ b/kpackage/gentooInterface.cpp @@ -39,7 +39,7 @@ Should we care about the world-file? - Read masked packages from /usr/portage/profiles/package.mask + Read tqmasked packages from /usr/portage/profiles/package.tqmask Use flags and CFLAGS? @@ -69,7 +69,7 @@ Gentoo::Gentoo() archesPossible << "~x86" << "x86"; portageDir="/usr/portage/"; - TQFile f(portageDir+"profiles/package.mask"); + TQFile f(portageDir+"profiles/package.tqmask"); if (f.open(IO_ReadOnly)) { TQTextStream stream( &f ); @@ -124,7 +124,7 @@ void Gentoo::listInstalledPackages(TQPtrList<packageInfo> *pki) TQString sline = i18n("Looking for Gentoo packages: "); - kpackage->setStatus(sline); + kpackage->settqStatus(sline); kpackage->setPercent(0); TQFile f(portageDir+"profiles/categories"); @@ -181,14 +181,14 @@ void Gentoo::listInstalledPackages(TQPtrList<packageInfo> *pki) continue; } - for (TQStringList::Iterator maskIt = packageMask.begin(); maskIt != packageMask.end(); ++maskIt) + for (TQStringList::Iterator tqmaskIt = packageMask.begin(); tqmaskIt != packageMask.end(); ++tqmaskIt) { // FIXME Should all be handled, just not implemented yet - if ((*maskIt).startsWith("<") || (*maskIt).startsWith("=") || (*maskIt).startsWith("~") || (*maskIt).startsWith(">")) + if ((*tqmaskIt).startsWith("<") || (*tqmaskIt).startsWith("=") || (*tqmaskIt).startsWith("~") || (*tqmaskIt).startsWith(">")) continue; - if (*category+"/"+name == *maskIt) + if (*category+"/"+name == *tqmaskIt) { - kdDebug() << "Package: " << name << "-" << version << " is masked" << endl; + kdDebug() << "Package: " << name << "-" << version << " is tqmasked" << endl; isMasked = true; break; } |