From 1754e4db964431e721e805a923b689b6c92960e4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:28:18 -0600 Subject: Rename old tq methods that no longer need a unique name (cherry picked from commit b836ed566cdce05ae8408705487cd10a423f3a90) --- kpackage/fbsdInterface.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kpackage/fbsdInterface.cpp') diff --git a/kpackage/fbsdInterface.cpp b/kpackage/fbsdInterface.cpp index 7831a5e..730e769 100644 --- a/kpackage/fbsdInterface.cpp +++ b/kpackage/fbsdInterface.cpp @@ -128,7 +128,7 @@ static void insertGroups(TQMap *a, TQString cats) packageInfo *fbsdInterface::getPackageInfo(char mode, const TQString &pname, const TQString &version) { TQString name( pname); bool installed = false; - kpackage->settqStatus(i18n("Getting package info")); + kpackage->setStatus(i18n("Getting package info")); kdDebug() << "Looking at package " << pname << endl; @@ -205,7 +205,7 @@ packageInfo *fbsdInterface::getPackageInfo(char mode, const TQString &pname, con } a["description"] = desc; } else { - kpackage->settqStatus(TQString()); + kpackage->setStatus(TQString()); return 0; } @@ -213,7 +213,7 @@ packageInfo *fbsdInterface::getPackageInfo(char mode, const TQString &pname, con ret->packageState = installed? packageInfo::INSTALLED : packageInfo::AVAILABLE; ret->fixup(); if (!installed) ret->smerge(typeID); - kpackage->settqStatus(TQString()); + kpackage->setStatus(TQString()); return ret; } @@ -234,7 +234,7 @@ TQStringList fbsdInterface::getFileList(packageInfo *p) { // Run pkg_info on the package name to get the file list. // The file list is returned on stdout, one per line. - kpackage->settqStatus(i18n("Getting file list")); + kpackage->setStatus(i18n("Getting file list")); TQStringList ret; @@ -249,7 +249,7 @@ TQStringList fbsdInterface::getFileList(packageInfo *p) { } else { if (!p->hasProperty("name")) { ret.append(i18n("Can't find package name!")); - kpackage->settqStatus(TQString()); + kpackage->setStatus(TQString()); return ret; } @@ -270,7 +270,7 @@ TQStringList fbsdInterface::getFileList(packageInfo *p) { ret = list; - kpackage->settqStatus(TQString()); + kpackage->setStatus(TQString()); return ret; } @@ -498,7 +498,7 @@ int fbsdInterface::pathInfo(TQMap &a) // Open a pipe to a pkg_info process in order to read the comment, name // and description for the packages. - kpackage->settqStatus(i18n("Querying BSD packages database for installed packages")); + kpackage->setStatus(i18n("Querying BSD packages database for installed packages")); TQString cmd = PKG_INFO_BIN; cmd += " -acdl "; @@ -528,7 +528,7 @@ int fbsdInterface::pathInfo(TQMap &a) TQString pkg = name.section(' ',-1); if (pkg.isEmpty()) { KpMsgE(i18n("Unexpected output from pkg_info (looking for package name): %1").tqarg(value), TRUE); - kpackage->settqStatus(TQString()); + kpackage->setStatus(TQString()); return; } else { if (pkg[pkg.length()-1] == ':') { -- cgit v1.2.1