summaryrefslogtreecommitdiffstats
path: root/src/cache.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 06:50:25 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 06:50:25 +0000
commita7dcba0bccd505f672310722d7205c60f57c9c17 (patch)
treeb78db5f5c2c96cad7a2c18feb8aebdf4c44fa879 /src/cache.cpp
parent63dc78a1d3758ddb8a4d1f7fa947969141fe6a15 (diff)
downloadksplash-engine-moodin-a7dcba0bccd505f672310722d7205c60f57c9c17.tar.gz
ksplash-engine-moodin-a7dcba0bccd505f672310722d7205c60f57c9c17.zip
TQt4 port ksplash-engine-moodin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksplash-engine-moodin@1238987 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/cache.cpp')
-rw-r--r--src/cache.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cache.cpp b/src/cache.cpp
index a4899f8..d1c0636 100644
--- a/src/cache.cpp
+++ b/src/cache.cpp
@@ -13,22 +13,22 @@
#include <kstandarddirs.h>
#include <kconfig.h>
-#include <qfileinfo.h>
-#include <qdatetime.h>
-#include <qimage.h>
+#include <tqfileinfo.h>
+#include <tqdatetime.h>
+#include <tqimage.h>
#include "cache.h"
/* Disabled Cache (Michael Ummels) */
-Cache::Cache(Scaler* scaler, const QString& themeEngine, const QString& theme)
+Cache::Cache(Scaler* scaler, const TQString& themeEngine, const TQString& theme)
{
}
-QImage* Cache::cacheFile(const QString& file)
+TQImage* Cache::cacheFile(const TQString& file)
{
- return new QImage(file);
+ return new TQImage(file);
}
@@ -37,18 +37,18 @@ void Cache::createCacheDir()
}
-void Cache::writeInfoFile(QString& file)
+void Cache::writeInfoFile(TQString& file)
{
}
-bool Cache::isInSync(QString& file)
+bool Cache::isInSync(TQString& file)
{
return true;
}
-QString Cache::getFile(QString file)
+TQString Cache::getFile(TQString file)
{
return file;
}