mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
Skip to song when clicking in the queue
This commit is contained in:
parent
f09593c245
commit
75474e1793
5 changed files with 28 additions and 0 deletions
|
@ -148,6 +148,11 @@ public slots:
|
|||
*/
|
||||
void playItem(Item *item);
|
||||
void playItemInList(ItemModel *itemList, int index);
|
||||
/**
|
||||
* @brief skipToItemIndex Skips to an item in the current playlist
|
||||
* @param index The index to skip to
|
||||
*/
|
||||
void skipToItemIndex(int index);
|
||||
void play() { m_mediaPlayer->play(); }
|
||||
void pause() { m_mediaPlayer->pause(); }
|
||||
void seek(qint64 pos) { m_mediaPlayer->setPosition(pos); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue