summaryrefslogtreecommitdiffstats
path: root/kpackage/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/cache.h')
-rw-r--r--kpackage/cache.h30
1 files changed, 15 insertions, 15 deletions
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 <qdir.h>
-#include <qptrlist.h>
+#include <tqdir.h>
+#include <tqptrlist.h>
#include <kurl.h>
@@ -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<cacheObj>
+class LcacheObj: public TQPtrList<cacheObj>
{
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) ;
} ;