summaryrefslogtreecommitdiffstats
path: root/juk/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/cache.cpp')
-rw-r--r--juk/cache.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/juk/cache.cpp b/juk/cache.cpp
index 34d59b46..0183c560 100644
--- a/juk/cache.cpp
+++ b/juk/cache.cpp
@@ -66,7 +66,7 @@ Cache *Cache::instance()
void Cache::save()
{
- TQString dirName = KGlobal::dirs()->saveLocation("appdata");
+ TQString dirName = TDEGlobal::dirs()->saveLocation("appdata");
TQString cacheFileName = dirName + "cache.new";
TQFile f(cacheFileName);
@@ -97,7 +97,7 @@ void Cache::save()
void Cache::loadPlaylists(PlaylistCollection *collection) // static
{
- TQString playlistsFile = KGlobal::dirs()->saveLocation("appdata") + "playlists";
+ TQString playlistsFile = TDEGlobal::dirs()->saveLocation("appdata") + "playlists";
TQFile f(playlistsFile);
@@ -204,7 +204,7 @@ void Cache::loadPlaylists(PlaylistCollection *collection) // static
void Cache::savePlaylists(const PlaylistList &playlists)
{
- TQString dirName = KGlobal::dirs()->saveLocation("appdata");
+ TQString dirName = TDEGlobal::dirs()->saveLocation("appdata");
TQString playlistsFile = dirName + "playlists.new";
TQFile f(playlistsFile);
@@ -254,7 +254,7 @@ void Cache::savePlaylists(const PlaylistList &playlists)
bool Cache::cacheFileExists() // static
{
- return TQFile::exists(KGlobal::dirs()->saveLocation("appdata") + "cache");
+ return TQFile::exists(TDEGlobal::dirs()->saveLocation("appdata") + "cache");
}
////////////////////////////////////////////////////////////////////////////////
@@ -268,7 +268,7 @@ Cache::Cache() : FileHandleHash()
void Cache::load()
{
- TQString cacheFileName = KGlobal::dirs()->saveLocation("appdata") + "cache";
+ TQString cacheFileName = TDEGlobal::dirs()->saveLocation("appdata") + "cache";
TQFile f(cacheFileName);