From aa3a1ca934bc541bddd3fa136a85f106f7da266e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:25:18 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpackage/cache.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kpackage/cache.h') diff --git a/kpackage/cache.h b/kpackage/cache.h index 02dc830..2a54b7c 100644 --- a/kpackage/cache.h +++ b/kpackage/cache.h @@ -29,8 +29,8 @@ #ifndef CACHE_H #define CACHE_H -#include -#include +#include +#include #include @@ -45,29 +45,29 @@ class LcacheObj; class cacheObj { public: - QString base; - QString location; - QString cacheFile; - QString option; + TQString base; + TQString location; + TQString cacheFile; + TQString option; bool subdirs; - cacheObj(const QString &Pbase, const QString &Plocation, const QString &PcacheFile, const QString &Poption = QString::null, bool Psubdirs = FALSE); + cacheObj(const TQString &Pbase, const TQString &Plocation, const TQString &PcacheFile, const TQString &Poption = TQString::null, bool Psubdirs = FALSE); ~cacheObj(); - static QString PDir(); + static TQString PDir(); // return path of kpackage cache directory - static QString CDir(); + static TQString CDir(); // return path of kpackage directory cache - static int newDCache(const QString &url, const QString &fn, QString &fname); + static int newDCache(const TQString &url, const TQString &fn, TQString &fname); // Checks directory cache // -1 Cann't get cache file name // 0 Cache file exists // 1 Cache file doesn't exit // fname return file name - static void rmDCache(const QString &fn); + static void rmDCache(const TQString &fn); static void clearDCache(); static void clearPCache(); @@ -75,7 +75,7 @@ public: ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// -class LcacheObj: public QPtrList +class LcacheObj: public TQPtrList { public: LcacheObj(); @@ -94,17 +94,17 @@ public: /** * create (and read) a cachelist object for the directory dir **/ - CacheList (const QDir& dir) ; + CacheList (const TQDir& dir) ; /** * write this cachelist to disk **/ void write (void) ; - QString getCLFileName (void) const ; + TQString getCLFileName (void) const ; private: - QFile CLFile ; + TQFile CLFile ; void read (void) ; } ; -- cgit v1.2.1