From 52384c4685a9d25ceb97b8acc36fe5844ec112b4 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 27 Feb 2017 10:53:18 +0100 Subject: Implement previous and next --- playerwidget.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'playerwidget.h') diff --git a/playerwidget.h b/playerwidget.h index a4d183a..e828748 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -35,6 +35,8 @@ class PlayerWidget : public QWidget { void playCurrent(const QModelIndex &index); void mute(bool triggered); void volumeChanged(int volume); + void next(); + void previous(); private: void setupGui(); @@ -45,6 +47,7 @@ class PlayerWidget : public QWidget { void recurse(const QModelIndex &parent); void addSong(const QModelIndex &idx); void play(const QString &fullPath); + void advance(int numSongs); QLineEdit *mFilter; QMediaPlayer *mPlayer; BeetView *mView; @@ -61,6 +64,7 @@ class PlayerWidget : public QWidget { QStandardItemModel *mPlayListModel; QToolBar *mToolBar; QAction *mPlayA; + QAction *mStopA; }; #endif // PLAYERWIDGET_H -- cgit v1.2.3-70-g09d2