aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
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();