diff options
Diffstat (limited to 'src/qmmpui/playlistmodel.cpp')
| -rw-r--r-- | src/qmmpui/playlistmodel.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index 97d18e156..812ae51b2 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -826,11 +826,13 @@ void PlayListModel::prepareForShufflePlaying(bool val) else m_play_state = new NormalPlayState(this); + emit shuffleChanged(val); } void PlayListModel::prepareForRepeatablePlaying(bool val) { is_repeatable_list = val; + emit repeatableListChanged(val); } void PlayListModel::doCurrentVisibleRequest() @@ -895,6 +897,16 @@ void PlayListModel::savePlaylist(const QString & f_name) } } +bool PlayListModel::isRepeatableList() const +{ + return is_repeatable_list; +} + +bool PlayListModel::isShuffle() const +{ + return FALSE; //TODO fix this +} + bool PlayListModel::isFileLoaderRunning() const { foreach(FileLoader* l,m_running_loaders) |
