summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
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