summaryrefslogtreecommitdiffstats
path: root/juk/tracksequenceiterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/tracksequenceiterator.cpp')
-rw-r--r--juk/tracksequenceiterator.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/juk/tracksequenceiterator.cpp b/juk/tracksequenceiterator.cpp
index b60a68d0..4f9a0313 100644
--- a/juk/tracksequenceiterator.cpp
+++ b/juk/tracksequenceiterator.cpp
@@ -71,9 +71,9 @@ void DefaultSequenceIterator::advance()
if(!current())
return;
- bool isRandom = action("randomPlay") && action<KToggleAction>("randomPlay")->isChecked();
- bool loop = action("loopPlaylist") && action<KToggleAction>("loopPlaylist")->isChecked();
- bool albumRandom = action("albumRandomPlay") && action<KToggleAction>("albumRandomPlay")->isChecked();
+ bool isRandom = action("randomPlay") && action<TDEToggleAction>("randomPlay")->isChecked();
+ bool loop = action("loopPlaylist") && action<TDEToggleAction>("loopPlaylist")->isChecked();
+ bool albumRandom = action("albumRandomPlay") && action<TDEToggleAction>("albumRandomPlay")->isChecked();
if(isRandom || albumRandom) {
if(m_randomItems.isEmpty() && loop) {
@@ -163,8 +163,8 @@ void DefaultSequenceIterator::backup()
void DefaultSequenceIterator::prepareToPlay(Playlist *playlist)
{
- bool random = action("randomPlay") && action<KToggleAction>("randomPlay")->isChecked();
- bool albumRandom = action("albumRandomPlay") && action<KToggleAction>("albumRandomPlay")->isChecked();
+ bool random = action("randomPlay") && action<TDEToggleAction>("randomPlay")->isChecked();
+ bool albumRandom = action("albumRandomPlay") && action<TDEToggleAction>("albumRandomPlay")->isChecked();
if(random || albumRandom) {
PlaylistItemList items = playlist->selectedItems();
@@ -213,8 +213,8 @@ void DefaultSequenceIterator::setCurrent(PlaylistItem *current)
TrackSequenceIterator::setCurrent(current);
- bool random = action("randomPlay") && action<KToggleAction>("randomPlay")->isChecked();
- bool albumRandom = action("albumRandomPlay") && action<KToggleAction>("albumRandomPlay")->isChecked();
+ bool random = action("randomPlay") && action<TDEToggleAction>("randomPlay")->isChecked();
+ bool albumRandom = action("albumRandomPlay") && action<TDEToggleAction>("albumRandomPlay")->isChecked();
if((albumRandom || random) && current && m_randomItems.isEmpty()) {