]> git.sur5r.net Git - minitube/blob - src/downloadlistview.h
Imported Upstream version 1.7
[minitube] / src / downloadlistview.h
1 #ifndef DOWNLOADLISTVIEW_H
2 #define DOWNLOADLISTVIEW_H
3
4 #include <QtGui>
5
6 class DownloadListView : public QListView {
7
8     Q_OBJECT
9
10 public:
11     DownloadListView(QWidget *parent = 0);
12
13 protected:
14     void leaveEvent(QEvent *event);
15     void mouseMoveEvent(QMouseEvent *event);
16     void mousePressEvent(QMouseEvent *event);
17     void mouseReleaseEvent(QMouseEvent *event);
18     bool isHoveringPlayIcon(QMouseEvent *event);
19
20 signals:
21     void downloadButtonPushed(QModelIndex index);
22
23 };
24
25 #endif // DOWNLOADLISTVIEW_H