aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-08-27 14:08:49 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-08-27 14:08:49 +0000
commitb94095cd8d42e6e75518ed9a0436da95e0fc7ec6 (patch)
tree1bfbabed14580cd1d48ab409063b67e2de95951c /src/qmmpui/playlistmodel.h
parent0b80094719507653ddaf29e76439d2ab018bba17 (diff)
downloadqmmp-b94095cd8d42e6e75518ed9a0436da95e0fc7ec6.tar.gz
qmmp-b94095cd8d42e6e75518ed9a0436da95e0fc7ec6.tar.bz2
qmmp-b94095cd8d42e6e75518ed9a0436da95e0fc7ec6.zip
added some api functions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3670 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
-rw-r--r--src/qmmpui/playlistmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index 2bd81eea4..769b55dc8 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -128,6 +128,7 @@ public:
*/
PlayListItem* item(int index) const;
PlayListTrack* track(int index) const;
+ PlayListGroup* group(int index) const;
/*!
* Returns index of the current item.
*/
@@ -147,6 +148,8 @@ public:
bool isTrack(int index) const;
+ bool isGroup(int index) const;
+
/*!
* Returns \b true if item with \b index is selected, otherwise returns \b false
*/