summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/playerwidget.h b/playerwidget.h
index 66c813a..e6e20d5 100644
--- a/playerwidget.h
+++ b/playerwidget.h
@@ -16,6 +16,8 @@ class QMediaPlayer;
class PlayerWidget : public QWidget {
Q_OBJECT
public:
+ enum ItemType { Artist, Album, Song };
+ enum CustomRoles { TypeRole = Qt::UserRole + 1, IdRole = Qt::UserRole + 2, FullPathRole = Qt::UserRole + 3 };
explicit PlayerWidget(QWidget *parent = 0);
public slots: