summaryrefslogtreecommitdiffstats
path: root/juk/cache.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:47:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:47:46 -0600
commit27430f06c6cc2187c639f59f342f07f1fde91a8b (patch)
tree493c1095950b7f0a82690cedac1b749666be1b47 /juk/cache.cpp
parent794a886cbd6d6893d62026f3800b95051652fc5a (diff)
downloadtdemultimedia-27430f06c6cc2187c639f59f342f07f1fde91a8b.tar.gz
tdemultimedia-27430f06c6cc2187c639f59f342f07f1fde91a8b.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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);