aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-07-01 19:04:40 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-07-01 19:04:40 +0000
commita537e1ec3ad94fc1681563b9d937ef4b7e2c2be5 (patch)
treeb191545ec95973d8faad11a4dac92b5197bf86da /src/qmmpui/playlistmodel.h
parentf492b1b9684844a45614eae55cc8b166f12520ba (diff)
downloadqmmp-a537e1ec3ad94fc1681563b9d937ef4b7e2c2be5.tar.gz
qmmp-a537e1ec3ad94fc1681563b9d937ef4b7e2c2be5.tar.bz2
qmmp-a537e1ec3ad94fc1681563b9d937ef4b7e2c2be5.zip
some api changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5200 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
-rw-r--r--src/qmmpui/playlistmodel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index 37cd0ef76..32a844b53 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -296,10 +296,10 @@ public:
GROUP /*!< by group name */
};
/*!
- * Returns number of track with index \b index.
- * Returns \b -1 if track with index \b index does not exist.
+ * Converts item index \b index to track index
+ * Returns \b -1 if item with index \b index is not a track or does not exist.
*/
- int numberOfTrack(int index) const;
+ int indexOfTrack(int index) const;
PlayListTrack *findTrack(int number) const;