aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-11-25 06:55:03 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-11-25 06:55:03 +0000
commit3be88d8c0b32bfb77d3d5acc787dd100087453d5 (patch)
tree1dea275f31551af8bb89e73d9c730fdebfec5950 /src/qmmpui/playlistmodel.h
parentcfbd11f1157362af276eb9f80ee40c0d0b5da47a (diff)
downloadqmmp-3be88d8c0b32bfb77d3d5acc787dd100087453d5.tar.gz
qmmp-3be88d8c0b32bfb77d3d5acc787dd100087453d5.tar.bz2
qmmp-3be88d8c0b32bfb77d3d5acc787dd100087453d5.zip
implemented drag&drop to a specific place
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3924 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
-rw-r--r--src/qmmpui/playlistmodel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index ce63a8157..31841387b 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -333,6 +333,8 @@ public slots:
* Inserts \b track at index position \b index in the playlist.
*/
void insert(int index, PlayListTrack *track);
+
+ void insert(PlayListItem *before, PlayListTrack *track);
/*!
* Inserts \b tracks at index position \b index in the playlist.
*/
@@ -350,6 +352,12 @@ public slots:
*/
void insert(int index, const QStringList &paths);
/*!
+ * Adds a list of URLs at index position \b index in the playlist.
+ * @param paths urls a list of URLs.
+ * @param index Position in the playlist.
+ */
+ void insert(int index, const QList<QUrl> &urls);
+ /*!
* Removes all items.
*/
void clear();