summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-02-27 10:53:18 +0100
committerArno <arno@disconnect.de>2017-02-27 10:53:18 +0100
commit52384c4685a9d25ceb97b8acc36fe5844ec112b4 (patch)
treed49d3b6631f5e576a3641f6e7740c8c15521a649 /playerwidget.h
parent1829b80114d5cfe2e097491b658eb39f4fbe71c0 (diff)
downloadBeetPlayer-52384c4685a9d25ceb97b8acc36fe5844ec112b4.tar.gz
BeetPlayer-52384c4685a9d25ceb97b8acc36fe5844ec112b4.tar.bz2
BeetPlayer-52384c4685a9d25ceb97b8acc36fe5844ec112b4.zip
Implement previous and next
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h4
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