aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-08-29 19:29:03 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-08-29 19:29:03 +0000
commita0c457d7dd9d609bdf8de45d9b5ac6e578ae38b2 (patch)
treeec0b5e90acc2445f9888c222af2ab530daf91ffb /src/qmmpui/playlistmodel.h
parent9aa6aaa154d5671fa1ab656b2ae739b2c1129f36 (diff)
downloadqmmp-a0c457d7dd9d609bdf8de45d9b5ac6e578ae38b2.tar.gz
qmmp-a0c457d7dd9d609bdf8de45d9b5ac6e578ae38b2.tar.bz2
qmmp-a0c457d7dd9d609bdf8de45d9b5ac6e578ae38b2.zip
added 'auto stop' option (patch by Avihay Baratz)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1862 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
-rw-r--r--src/qmmpui/playlistmodel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index ce047d759..2f1dca2e4 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -206,6 +206,13 @@ public:
return m_queued_songs.indexOf(item);
}
/*!
+ * Returns the number of items in the queue
+ */
+ int queueSize() const
+ {
+ return m_queued_songs.size();
+ }
+ /*!
* Returns current selection(playlist can contain a lot of selections,
* this method returns selection which \b row belongs to)
*/