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, 7 insertions, 1 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index 783a44dfb..6ea3efa33 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2006-2012 by Ilya Kotov *
+ * Copyright (C) 2006-2013 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -186,6 +186,12 @@ public:
*/
QStringList getTimes(int first,int last);
/*!
+ * Returns a list of the items, starting at position \b pos
+ * \param pos First item position.
+ * \param count A number of items. If \b count is -1 (the default), all items from pos are returned.
+ */
+ QList<PlayListItem *> mid(int pos, int count = -1);
+ /*!
* Moves the item at index position \b from to index position \b to.
*/
void moveItems(int from, int to);