From 9189b75a3f3a8e3cb56b5d6c85bc261d4f058dda Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Sat, 17 Jan 2015 12:06:18 -0500 Subject: Quick update to the new audioplayer plugin. Now there is a label which displays the current song number in the rotation (/), and a progressbar shows a rough estimate of how much longer the running song has. --- lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.h') 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 -- cgit