summaryrefslogtreecommitdiffstats
path: root/kpackage/cache.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/cache.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/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) ;
} ;