summaryrefslogtreecommitdiffstats
path: root/kpackage/slackInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/slackInterface.h')
-rw-r--r--kpackage/slackInterface.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpackage/slackInterface.h b/kpackage/slackInterface.h
index c11a7c2..f6ed3fc 100644
--- a/kpackage/slackInterface.h
+++ b/kpackage/slackInterface.h
@@ -29,7 +29,7 @@
#include "../config.h"
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include <kprocess.h>
#include "pkgInterface.h"
@@ -46,12 +46,12 @@ public:
SLACK();
~SLACK();
- bool isType(char *buf, const QString &fname);
+ bool isType(char *buf, const TQString &fname);
- packageInfo *getPackageInfo(char mode, const QString &name,
- const QString &version);
- QStringList getFileList(packageInfo *p);
- QStringList getChangeLog(packageInfo *p);
+ packageInfo *getPackageInfo(char mode, const TQString &name,
+ const TQString &version);
+ TQStringList getFileList(packageInfo *p);
+ TQStringList getChangeLog(packageInfo *p);
bool filesTab(packageInfo *p);
// If files tab is to be enabled
@@ -59,10 +59,10 @@ public:
bool changeTab(packageInfo *p);
// If change log tab is to be enabled
- QStringList FindFile(const QString &name, bool seachAll=false);
- bool parseName(const QString& name, QString *n, QString *v);
+ TQStringList FindFile(const TQString &name, bool seachAll=false);
+ bool parseName(const TQString& name, TQString *n, TQString *v);
- QString install(int installFlags, QPtrList<packageInfo> *plist, bool &test);
+ TQString install(int installFlags, TQPtrList<packageInfo> *plist, bool &test);
public slots:
void setLocation();
@@ -70,20 +70,20 @@ public slots:
private:
packageInfo* collectInfo(const char *inp, int insState);
- void listInstalledPackages(QPtrList<packageInfo> *pki);
+ void listInstalledPackages(TQPtrList<packageInfo> *pki);
- QString doUninstall(int installFlags, const QString &packs, bool &test);
- QString doInstall(int installFlags, const QString &packs, bool &test);
+ TQString doUninstall(int installFlags, const TQString &packs, bool &test);
+ TQString doInstall(int installFlags, const TQString &packs, bool &test);
- void listPackages(QPtrList<packageInfo> *pki);
- void listPackList(QPtrList<packageInfo> *pki, const QString &s,
+ void listPackages(TQPtrList<packageInfo> *pki);
+ void listPackList(TQPtrList<packageInfo> *pki, const TQString &s,
cacheObj *cp, int insState);
void initTranslate();
void smerge(packageInfo *p);
- QDict<QString> *trl;
+ TQDict<TQString> *trl;
};
#endif