summaryrefslogtreecommitdiffstats
path: root/kpackage/debInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/debInterface.h')
-rw-r--r--kpackage/debInterface.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/kpackage/debInterface.h b/kpackage/debInterface.h
index 98307f8..9cc450d 100644
--- a/kpackage/debInterface.h
+++ b/kpackage/debInterface.h
@@ -30,12 +30,12 @@
#include "../config.h"
-#include <qptrlist.h>
-#include <qdir.h>
-#include <qfile.h>
-#include <qfileinfo.h>
-#include <qtextstream.h>
-#include <qstringlist.h>
+#include <tqptrlist.h>
+#include <tqdir.h>
+#include <tqfile.h>
+#include <tqfileinfo.h>
+#include <tqtextstream.h>
+#include <tqstringlist.h>
#include <kprocess.h>
@@ -59,12 +59,12 @@ public:
DEB();
~DEB();
- virtual bool isType(char *buf, const QString &fname);
+ virtual bool isType(char *buf, const TQString &fname);
- virtual packageInfo *getPackageInfo(char mode, const QString &name,
- const QString &version);
- virtual QStringList getFileList(packageInfo *p);
- virtual QStringList getChangeLog(packageInfo *p);
+ virtual packageInfo *getPackageInfo(char mode, const TQString &name,
+ const TQString &version);
+ virtual TQStringList getFileList(packageInfo *p);
+ virtual TQStringList getChangeLog(packageInfo *p);
bool filesTab(packageInfo *p);
// If files tab is to be enabled
@@ -72,38 +72,38 @@ public:
bool changeTab(packageInfo *p);
// If change log tab is to be enabled
- virtual void listInstalledPackages(QPtrList<packageInfo> *pki);
+ virtual void listInstalledPackages(TQPtrList<packageInfo> *pki);
- virtual QStringList FindFile(const QString &name, bool seachAll=false);
- virtual bool parseName(const QString &name, QString *n, QString *v);
+ virtual TQStringList FindFile(const TQString &name, bool seachAll=false);
+ virtual bool parseName(const TQString &name, TQString *n, TQString *v);
- virtual packageInfo* collectInfo(QStringList &ln, pkgInterface *pkgInt = 0);
+ virtual packageInfo* collectInfo(TQStringList &ln, pkgInterface *pkgInt = 0);
- QString uninstall(int uninstallFlags, QPtrList<packageInfo> *p,
+ TQString uninstall(int uninstallFlags, TQPtrList<packageInfo> *p,
bool &test);
- QString install(int installFlags, QPtrList<packageInfo> *p,
+ TQString install(int installFlags, TQPtrList<packageInfo> *p,
bool &test);
- QString doInstall(int installFlags, const QString &packs, bool &test);
+ TQString doInstall(int installFlags, const TQString &packs, bool &test);
public slots:
void setLocation();
void setAvail(LcacheObj *);
protected:
- packageInfo *getIPackageInfo(const QString &name);
- packageInfo *getIRPackageInfo(const QString &name);
- packageInfo *getUPackageInfo(const QString &name);
+ packageInfo *getIPackageInfo(const TQString &name);
+ packageInfo *getIRPackageInfo(const TQString &name);
+ packageInfo *getUPackageInfo(const TQString &name);
- QStringList getIChangeLog(packageInfo *p);
+ TQStringList getIChangeLog(packageInfo *p);
- void listPackList(QPtrList<packageInfo> *pki,
- const QString &fname, cacheObj *cp);
+ void listPackList(TQPtrList<packageInfo> *pki,
+ const TQString &fname, cacheObj *cp);
- virtual void distPackages(QPtrList<packageInfo> *pki, cacheObj *cp);
- void listUnIPackages(QPtrList<packageInfo> *pki, LcacheObj *pCache);
+ virtual void distPackages(TQPtrList<packageInfo> *pki, cacheObj *cp);
+ void listUnIPackages(TQPtrList<packageInfo> *pki, LcacheObj *pCache);
- QStringList getIFileList(packageInfo *p);
- QStringList getUFileList(const QString &fn);
+ TQStringList getIFileList(packageInfo *p);
+ TQStringList getUFileList(const TQString &fn);
};
#endif