aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-21 09:56:05 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-12-21 09:56:05 +0000
commitac7a7dffc31afe8a20a51db4ab7749bf4fdea67c (patch)
tree3640dfe17870fb743463b852b257ffaf9a117bb4 /src/qmmpui/playlistmodel.h
parentae5bd442b79d44b0925e0f9b0e77c3ed74483838 (diff)
downloadqmmp-ac7a7dffc31afe8a20a51db4ab7749bf4fdea67c.tar.gz
qmmp-ac7a7dffc31afe8a20a51db4ab7749bf4fdea67c.tar.bz2
qmmp-ac7a7dffc31afe8a20a51db4ab7749bf4fdea67c.zip
more mpris methods support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@697 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
-rw-r--r--src/qmmpui/playlistmodel.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index 04665b88c..c0a4e1168 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -116,11 +116,6 @@ public:
*/
bool isQueued(PlayListItem* item) const;
- bool isRepeatableList()const
- {
- return is_repeatable_list;
- }
-
/*!
* Sets current song to the file that is nex in queue, if queue is empty - does nothing
*/
@@ -187,6 +182,9 @@ public:
*/
void savePlaylist(const QString& f_name);
+ bool isRepeatableList() const;
+ bool isShuffle() const;
+
/*!
* Enum of available sort modes
*/
@@ -199,6 +197,8 @@ signals:
void listChanged();
void currentChanged();
void firstAdded();
+ void repeatableListChanged(bool);
+ void shuffleChanged(bool);
public slots:
void load(PlayListItem *);