X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fdownloadlistview.h;h=489bd7dcbfaea7984815a3087b394af1c25c5ef0;hb=HEAD;hp=72f457ae73be65a82dd49a29db2e58c6eabe6036;hpb=3c8c537559e6bef5f019196b0989e95863ddd3ee;p=minitube diff --git a/src/downloadlistview.h b/src/downloadlistview.h index 72f457a..489bd7d 100644 --- a/src/downloadlistview.h +++ b/src/downloadlistview.h @@ -1,7 +1,27 @@ +/* $BEGIN_LICENSE + +This file is part of Minitube. +Copyright 2009, Flavio Tordini + +Minitube is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Minitube is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with Minitube. If not, see . + +$END_LICENSE */ + #ifndef DOWNLOADLISTVIEW_H #define DOWNLOADLISTVIEW_H -#include +#include class DownloadListView : public QListView { @@ -16,6 +36,7 @@ protected: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); bool isHoveringPlayIcon(QMouseEvent *event); + void paintEvent(QPaintEvent *event); signals: void downloadButtonPushed(QModelIndex index);