diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:25 -0600 |
commit | 940c092f32d40263ad6b24f948eaf4c48b01e99a (patch) | |
tree | f5235b5c44e8aaedd3484a00551e29993d548590 /juk/cache.cpp | |
parent | ced2058eaf8e5af831ebc02812a18937ff7e1de3 (diff) | |
download | tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.tar.gz tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'juk/cache.cpp')
-rw-r--r-- | juk/cache.cpp | 6 |
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); |