summaryrefslogtreecommitdiffstats
path: root/kpackage/rpmInterface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kpackage/rpmInterface.h
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/rpmInterface.h')
-rw-r--r--kpackage/rpmInterface.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/kpackage/rpmInterface.h b/kpackage/rpmInterface.h
index a1357ef..a7db803 100644
--- a/kpackage/rpmInterface.h
+++ b/kpackage/rpmInterface.h
@@ -30,7 +30,7 @@
#include "../config.h"
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include "packageInfo.h"
#include "pkgInterface.h"
@@ -46,11 +46,11 @@ public:
RPM();
~RPM();
- 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
@@ -58,50 +58,50 @@ public:
bool changeTab(packageInfo *p);
// If change log tab is to be enabled
- QStringList depends(const QString &name, int src);
- QStringList verify(packageInfo *p, const QStringList &files);
+ TQStringList depends(const TQString &name, int src);
+ TQStringList verify(packageInfo *p, const TQStringList &files);
- QString uninstall(int uninstallFlags, QPtrList<packageInfo> *p, bool &test);
- QString uninstall(int uninstallFlags, packageInfo *p, bool &test);
- QString doUninst(int uninstallFlags, const QStringList &files, bool &test);
- QString doUninstP(int uninstallFlags, const QStringList &files, bool &test);
+ TQString uninstall(int uninstallFlags, TQPtrList<packageInfo> *p, bool &test);
+ TQString uninstall(int uninstallFlags, packageInfo *p, bool &test);
+ TQString doUninst(int uninstallFlags, const TQStringList &files, bool &test);
+ TQString doUninstP(int uninstallFlags, const TQStringList &files, bool &test);
- QString install(int installFlags, QPtrList<packageInfo> *p, bool &test);
- QString install(int installFlags, packageInfo *p, bool &test);
- QString doinst(int installFlags, const QStringList &files, bool &test);
- QString doinstP(int installFlags, const QStringList &files, bool &test);
+ TQString install(int installFlags, TQPtrList<packageInfo> *p, bool &test);
+ TQString install(int installFlags, packageInfo *p, bool &test);
+ TQString doinst(int installFlags, const TQStringList &files, bool &test);
+ TQString doinstP(int installFlags, const TQStringList &files, bool &test);
- QStringList FindFile(const QString &name, bool seachAll=false);
- void collectDepends(packageInfo *p, const QString &name, int src);
- bool parseName(const QString &name, QString *n, QString *v);
+ TQStringList FindFile(const TQString &name, bool seachAll=false);
+ void collectDepends(packageInfo *p, const TQString &name, int src);
+ bool parseName(const TQString &name, TQString *n, TQString *v);
- QString provMap(const QString &p);
+ TQString provMap(const TQString &p);
public slots:
void setLocation();
void setAvail(LcacheObj *);
private:
- packageInfo* collectInfo(QStringList &ln);
+ packageInfo* collectInfo(TQStringList &ln);
- void listInstalledPackages(QPtrList<packageInfo> *pki);
+ void listInstalledPackages(TQPtrList<packageInfo> *pki);
- QDict<QString> provides;
+ TQDict<TQString> provides;
bool rpmSetup;
- QStringList infoList;
+ TQStringList infoList;
- QString packageQuery();
+ TQString packageQuery();
- QStringList getIFileList( packageInfo *p );
- QStringList getUFileList( const QString &fn );
+ TQStringList getIFileList( packageInfo *p );
+ TQStringList getUFileList( const TQString &fn );
- QStringList getIChangeLog( packageInfo *p );
- QStringList getUChangeLog( const QString &fn );
+ TQStringList getIChangeLog( packageInfo *p );
+ TQStringList getUChangeLog( const TQString &fn );
- packageInfo *getIPackageInfo( const QString &name);
- packageInfo *getUPackageInfo( const QString &name);
+ packageInfo *getIPackageInfo( const TQString &name);
+ packageInfo *getUPackageInfo( const TQString &name);
- QString quotePath( const QString &path);
+ TQString quotePath( const TQString &path);
};