diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-08-29 19:29:03 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-08-29 19:29:03 +0000 |
| commit | a0c457d7dd9d609bdf8de45d9b5ac6e578ae38b2 (patch) | |
| tree | ec0b5e90acc2445f9888c222af2ab530daf91ffb /src/qmmpui/playlistmodel.h | |
| parent | 9aa6aaa154d5671fa1ab656b2ae739b2c1129f36 (diff) | |
| download | qmmp-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.h | 7 |
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) */ |
