diff options
author | Arno <arno@disconnect.de> | 2017-02-27 10:53:18 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-02-27 10:53:18 +0100 |
commit | 52384c4685a9d25ceb97b8acc36fe5844ec112b4 (patch) | |
tree | d49d3b6631f5e576a3641f6e7740c8c15521a649 /playerwidget.h | |
parent | 1829b80114d5cfe2e097491b658eb39f4fbe71c0 (diff) | |
download | BeetPlayer-52384c4685a9d25ceb97b8acc36fe5844ec112b4.tar.gz BeetPlayer-52384c4685a9d25ceb97b8acc36fe5844ec112b4.tar.bz2 BeetPlayer-52384c4685a9d25ceb97b8acc36fe5844ec112b4.zip |
Implement previous and next
Diffstat (limited to 'playerwidget.h')
-rw-r--r-- | playerwidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |