summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-03-07 19:37:41 +0100
committerArno <arno@disconnect.de>2017-03-07 19:37:41 +0100
commit3d60948da05a7f97b11c73e0aa77242502da8586 (patch)
tree4ffe6dad425bc15dda6a0647c6c05b3fd1894bf5 /playerwidget.h
parent7ac8d4bf78ab2d67ab5ba0f3cb018d7165b213d9 (diff)
downloadBeetPlayer-3d60948da05a7f97b11c73e0aa77242502da8586.tar.gz
BeetPlayer-3d60948da05a7f97b11c73e0aa77242502da8586.tar.bz2
BeetPlayer-3d60948da05a7f97b11c73e0aa77242502da8586.zip
Add bindings for global KDE shortcuts
Hell, this was much harder than it should be. The API documentation is crap and I didn't find a single decent example with my google foo!
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 0218fde..a9259e2 100644
--- a/playerwidget.h
+++ b/playerwidget.h
@@ -36,6 +36,9 @@ class PlayerWidget : public QWidget {
void doPlay();
void doStop();
void doPause();
+ void doPlayOrPause();
+ void volumeUp();
+ void volumeDown();
void doFilter();
void clearFilter();
void reindex();
@@ -78,6 +81,7 @@ class PlayerWidget : public QWidget {
void play(const QString &fullPath);
void advance(int numSongs);
void expandRecursive(const QModelIndex &idx);
+ void adjustVolume(int by);
QLineEdit *mSearch;
QMediaPlayer *mPlayer;
BeetView *mView;