diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-17 12:06:18 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-17 12:06:18 -0500 |
commit | 9189b75a3f3a8e3cb56b5d6c85bc261d4f058dda (patch) | |
tree | 5eaa3b46f45f39be074e67f9e6f4784e77dc8846 /lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h | |
parent | Commit a couple loose changes to libLuminaXDG (diff) | |
download | lumina-9189b75a3f3a8e3cb56b5d6c85bc261d4f058dda.tar.gz lumina-9189b75a3f3a8e3cb56b5d6c85bc261d4f058dda.tar.bz2 lumina-9189b75a3f3a8e3cb56b5d6c85bc261d4f058dda.zip |
Quick update to the new audioplayer plugin. Now there is a label which displays the current song number in the rotation (<num>/<total>), and a progressbar shows a rough estimate of how much longer the running song has.
Diffstat (limited to 'lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h index d50f8c26..eaa068ff 100644 --- a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h +++ b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h @@ -34,7 +34,6 @@ private: Ui::PlayerWidget *ui; QMediaPlaylist *PLAYLIST; QMediaPlayer *PLAYER; - //QTimer *infoTimer; QMenu *configMenu, *addMenu; bool updatinglists; @@ -54,7 +53,8 @@ private slots: void playerStateChanged(); void playlistChanged(); //list of items changed void currentSongChanged(); - //void rotateTrackInfo(); //on a timer to rotate the visible information about the track + void updateProgress(qint64 val); + void updateMaxProgress(qint64 val); }; // Wrapper class to put this into a desktop plugin container |