diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:05 -0600 |
commit | d1248617107f659af9d03cf1ef6d783571a0cba8 (patch) | |
tree | 06ce6d250704f2cddca023e81b63f25b19c9aa48 /kpackage/debAptInterface.cpp | |
parent | 72fee035e994371467475e062b46287d68fa3f57 (diff) | |
download | tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.tar.gz tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpackage/debAptInterface.cpp')
-rw-r--r-- | kpackage/debAptInterface.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpackage/debAptInterface.cpp b/kpackage/debAptInterface.cpp index ce28d21..f7c6ee0 100644 --- a/kpackage/debAptInterface.cpp +++ b/kpackage/debAptInterface.cpp @@ -156,7 +156,7 @@ void DEBAPT::fileS() kprun->exec(); } } else { - KpMsg("Error",i18n("The %1 program needs to be installed").tqarg("apt-file"), TRUE); + KpMsg("Error",i18n("The %1 program needs to be installed").arg("apt-file"), TRUE); } } @@ -185,13 +185,13 @@ void DEBAPT::listRPack(TQPtrList<packageInfo> *pki) packageInfo *p; TQStringList plist; - kpackage->settqStatus(i18n("Querying DEB APT remote package list: %1").tqarg(hostName)); + kpackage->setStatus(i18n("Querying DEB APT remote package list: %1").arg(hostName)); kpackage->setPercent(0); TQString cmd = "cat " STATUS; TQStringList list = kpty->run(cmd); - kpackage->settqStatus(i18n("Processing DEB APT remote package list: %1").tqarg(hostName)); + kpackage->setStatus(i18n("Processing DEB APT remote package list: %1").arg(hostName)); // kdDebug() << "P=" << list.count() <<"\n"; kpackage->setPercent(50); @@ -228,7 +228,7 @@ void DEBAPT::listRPack(TQPtrList<packageInfo> *pki) } list.clear(); - kpackage->settqStatus(i18n("DEB APT")); + kpackage->setStatus(i18n("DEB APT")); kpackage->setPercent(100); } @@ -241,16 +241,16 @@ void DEBAPT::listAvail(TQPtrList<packageInfo> *pki) // kdDebug() << "H=" << hostName << "\n"; if (hostName.isEmpty()) - kpackage->settqStatus(i18n("Querying DEB APT available list")); + kpackage->setStatus(i18n("Querying DEB APT available list")); else - kpackage->settqStatus(i18n("Querying DEB APT available list: %1").tqarg(hostName)); + kpackage->setStatus(i18n("Querying DEB APT available list: %1").arg(hostName)); kpackage->setPercent(0); TQStringList list = kpty->run("apt-cache dumpavail"); if (hostName.isEmpty()) - kpackage->settqStatus(i18n("Processing DEB APT available list")); + kpackage->setStatus(i18n("Processing DEB APT available list")); else - kpackage->settqStatus(i18n("Processing DEB APT available list: %1").tqarg(hostName)); + kpackage->setStatus(i18n("Processing DEB APT available list: %1").arg(hostName)); // kdDebug() << "A=" << list.count() <<"\n"; kpackage->setPercent(50); @@ -284,7 +284,7 @@ void DEBAPT::listAvail(TQPtrList<packageInfo> *pki) } list.clear(); - kpackage->settqStatus(i18n("DEB APT")); + kpackage->setStatus(i18n("DEB APT")); kpackage->setPercent(100); } @@ -365,7 +365,7 @@ TQStringList DEBAPT::FindFile(const TQString &name, bool searchAll) return filelist; } else { - KpMsg("Error",i18n("The %1 program needs to be installed").tqarg("apt-file"), TRUE); + KpMsg("Error",i18n("The %1 program needs to be installed").arg("apt-file"), TRUE); TQStringList nill; return nill; } |