diff options
author | Arno <arno@disconnect.de> | 2017-05-05 20:35:55 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-05-05 20:35:55 +0200 |
commit | f942c5c9e1fe6d8d1fdddb3f5864251f11dd4818 (patch) | |
tree | bf4a32661e19458b25628ad7b35a31dae1212087 /playerwidget.h | |
parent | 1f681108251e0ca3425f322cb0453dc3d9ab7609 (diff) | |
download | BeetPlayer-f942c5c9e1fe6d8d1fdddb3f5864251f11dd4818.tar.gz BeetPlayer-f942c5c9e1fe6d8d1fdddb3f5864251f11dd4818.tar.bz2 BeetPlayer-f942c5c9e1fe6d8d1fdddb3f5864251f11dd4818.zip |
Factor out file info
Implement function for displaying file info from TagLib.
Diffstat (limited to 'playerwidget.h')
-rw-r--r-- | playerwidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/playerwidget.h b/playerwidget.h index eb71677..fb62240 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -5,6 +5,8 @@ #include <QMediaPlayer> #include <QSystemTrayIcon> +#include <taglib/fileref.h> + 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; |