summaryrefslogtreecommitdiffstats
path: root/juk/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/cache.cpp')
-rw-r--r--juk/cache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/cache.cpp b/juk/cache.cpp
index bb7c2956..4bd917f8 100644
--- a/juk/cache.cpp
+++ b/juk/cache.cpp
@@ -144,7 +144,7 @@ void Cache::loadPlaylists(PlaylistCollection *collection) // static
}
case History:
{
- action<KToggleAction>("showHistory")->setChecked(true);
+ action<TDEToggleAction>("showHistory")->setChecked(true);
collection->setHistoryPlaylistEnabled(true);
s >> *collection->historyPlaylist();
playlist = collection->historyPlaylist();
@@ -155,7 +155,7 @@ void Cache::loadPlaylists(PlaylistCollection *collection) // static
/*
collection->setUpcomingPlaylistEnabled(true);
Playlist *p = collection->upcomingPlaylist();
- action<KToggleAction>("saveUpcomingTracks")->setChecked(true);
+ action<TDEToggleAction>("saveUpcomingTracks")->setChecked(true);
s >> *p;
playlist = p;
*/
@@ -225,7 +225,7 @@ void Cache::savePlaylists(const PlaylistList &playlists)
<< *static_cast<SearchPlaylist *>(*it);
}
else if(dynamic_cast<UpcomingPlaylist *>(*it)) {
- if(!action<KToggleAction>("saveUpcomingTracks")->isChecked())
+ if(!action<TDEToggleAction>("saveUpcomingTracks")->isChecked())
continue;
s << TQ_INT32(Upcoming)
<< *static_cast<UpcomingPlaylist *>(*it);