]> git.sur5r.net Git - minitube/blobdiff - src/playlistview.h
Update upstream source from tag 'upstream/3.9.1'
[minitube] / src / playlistview.h
index fb3bd0cd548948f9f2310253f74dd2fca03b418b..c168d77ec2b7d14a2abe291eb4fe06cf8f7fdbff 100644 (file)
@@ -1,7 +1,27 @@
+/* $BEGIN_LICENSE
+
+This file is part of Minitube.
+Copyright 2009, Flavio Tordini <flavio.tordini@gmail.com>
+
+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 <http://www.gnu.org/licenses/>.
+
+$END_LICENSE */
+
 #ifndef PLAYLISTVIEW_H
 #define PLAYLISTVIEW_H
 
-#include <QtGui>
+#include <QtWidgets>
 
 class PlaylistView : public QListView {
 
@@ -10,6 +30,7 @@ class PlaylistView : public QListView {
 public:
     PlaylistView(QWidget *parent = 0);
     void setClickableAuthors(bool enabled) { clickableAuthors = enabled; }
+    bool isClickableAuthors() { return clickableAuthors; }
 
 protected:
     void leaveEvent(QEvent *event);