6 class PlaylistView : public QListView {
11 PlaylistView(QWidget *parent = 0);
12 void setClickableAuthors(bool enabled) { clickableAuthors = enabled; }
15 void leaveEvent(QEvent *event);
16 void mouseMoveEvent(QMouseEvent *event);
17 void mousePressEvent(QMouseEvent *event);
18 void mouseReleaseEvent(QMouseEvent *event);
21 void authorPushed(QModelIndex index);
24 void itemEntered(const QModelIndex &index);
27 bool isHoveringAuthor(QMouseEvent *event);
28 bool isShowMoreItem(const QModelIndex &index);
29 bool isHoveringThumbnail(QMouseEvent *event);
31 bool clickableAuthors;
35 #endif // PLAYLISTVIEW_H