summaryrefslogtreecommitdiffstats
path: root/kpackage/kissInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/kissInterface.h')
-rw-r--r--kpackage/kissInterface.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kpackage/kissInterface.h b/kpackage/kissInterface.h
index 4a4484d..1f411eb 100644
--- a/kpackage/kissInterface.h
+++ b/kpackage/kissInterface.h
@@ -29,8 +29,8 @@
#include "../config.h"
-#include <qptrlist.h>
-#include <qstringlist.h>
+#include <tqptrlist.h>
+#include <tqstringlist.h>
#include <kprocess.h>
#include "procbuf.h"
@@ -48,12 +48,12 @@ public:
KISS();
~KISS();
- bool isType(char *buf, const QString &fname);
+ bool isType(char *buf, const TQString &fname);
param *initinstallOptions();
param *inituninstallOptions();
- 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
@@ -61,8 +61,8 @@ 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);
public slots:
void setLocation();
@@ -70,13 +70,13 @@ public slots:
private:
packageInfo* collectInfo(const char *inp);
- void listInstalledPackages(QPtrList<packageInfo> *pki);
+ void listInstalledPackages(TQPtrList<packageInfo> *pki);
- QString install(int installFlags, QPtrList<packageInfo> *plist, bool &test);
- QString uninstall(int uninstallFlags, QPtrList<packageInfo> *plist, bool &test);
+ TQString install(int installFlags, TQPtrList<packageInfo> *plist, bool &test);
+ TQString uninstall(int uninstallFlags, TQPtrList<packageInfo> *plist, bool &test);
- 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);
procbuf reader;
};