From f942c5c9e1fe6d8d1fdddb3f5864251f11dd4818 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 5 May 2017 20:35:55 +0200 Subject: Factor out file info Implement function for displaying file info from TagLib. --- playerwidget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'playerwidget.h') diff --git a/playerwidget.h b/playerwidget.h index eb71677..fb62240 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -5,6 +5,8 @@ #include #include +#include + class QStandardItemModel; class QStandardItem; class QLineEdit; @@ -96,6 +98,7 @@ class PlayerWidget : public QWidget { void advance(int numSongs); void expandRecursive(const QModelIndex &idx); void adjustVolume(int by); + void fillWithText(QTextEdit *te, const TagLib::FileRef &fr); QLineEdit *mSearch; QLineEdit *mDir; QMediaPlayer *mPlayer; -- cgit v1.2.3-70-g09d2