summaryrefslogtreecommitdiffstats
path: root/kpackage/debDpkgInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/debDpkgInterface.cpp')
-rw-r--r--kpackage/debDpkgInterface.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpackage/debDpkgInterface.cpp b/kpackage/debDpkgInterface.cpp
index 896bdfb..a1c4504 100644
--- a/kpackage/debDpkgInterface.cpp
+++ b/kpackage/debDpkgInterface.cpp
@@ -77,8 +77,8 @@ DEBDPKG::DEBDPKG():DEB()
locatedialog->dLocations(2, 6, this, i18n("Folders", "F"),
"Deb", "*.deb",
i18n("Location of Folders Containing Debian Packages"));
- connect(locatedialog,SIGNAL(returnVal(LcacheObj *)),
- this,SLOT(setAvail(LcacheObj *)));
+ connect(locatedialog,TQT_SIGNAL(returnVal(LcacheObj *)),
+ this,TQT_SLOT(setAvail(LcacheObj *)));
locatedialog->apply_slot();
paramsInst.append(new param(i18n("Allow Downgrade"),TRUE,TRUE,"--refuse-downgrade"));
@@ -102,27 +102,27 @@ DEBDPKG::~DEBDPKG()
}
//////////////////////////////////////////////////////////////////////////////
-void DEBDPKG::distPackages(QPtrList<packageInfo> *pki, cacheObj *cp)
+void DEBDPKG::distPackages(TQPtrList<packageInfo> *pki, cacheObj *cp)
{
LcacheObj *cList = new LcacheObj();
- QString loc = cp->base;
+ TQString loc = cp->base;
- QStringList opt = QStringList::split('\n',cp->option);
- QStringList::Iterator ocIt = opt.begin();
- QString rel = *ocIt;
- QString arch = *(++ocIt);
+ TQStringList opt = TQStringList::split('\n',cp->option);
+ TQStringList::Iterator ocIt = opt.begin();
+ TQString rel = *ocIt;
+ TQString arch = *(++ocIt);
- QString parts[3] = {"main", "contrib", "non-free"};
+ TQString parts[3] = {"main", "contrib", "non-free"};
for (int i = 0; i < 3; i++) {
- QString file = loc + "/dists/";
+ TQString file = loc + "/dists/";
file += rel;
file += "/";
file += parts[i];
file += "/binary-";
file += arch;
file += "/Packages";
- QString s;
- QString tmp = cp->cacheFile;
+ TQString s;
+ TQString tmp = cp->cacheFile;
tmp += s.setNum(i);
cacheObj *cp = new cacheObj(loc,file,tmp);
cList->append(cp);
@@ -131,7 +131,7 @@ void DEBDPKG::distPackages(QPtrList<packageInfo> *pki, cacheObj *cp)
listUnIPackages(pki, cList);
}
-void DEBDPKG::listPackages(QPtrList<packageInfo> *pki)
+void DEBDPKG::listPackages(TQPtrList<packageInfo> *pki)
{
listInstalledPackages(pki);
if (packageLoc) {
@@ -146,9 +146,9 @@ void DEBDPKG::listPackages(QPtrList<packageInfo> *pki)
// Call the script to uninstall packages setting parameters
// to dpkg dependent on flags, returning whether everyting worked
//////////////////////////////////////////////////////////////////////////////
-QString DEBDPKG::doUninstall(int uninstallFlags, const QString &packs, bool &test)
+TQString DEBDPKG::doUninstall(int uninstallFlags, const TQString &packs, bool &test)
{
- QString s = "dpkg ";
+ TQString s = "dpkg ";
// The -r or -p flag is set by setOptions
s += setOptions(uninstallFlags, paramsUninst);
s += packs;