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/tracksequenceiterator.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/tracksequenceiterator.cpp')
-rw-r--r-- | juk/tracksequenceiterator.cpp | 14 |
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()) { |