]> git.sur5r.net Git - minitube/blobdiff - src/playlist/PrettyItemDelegate.h
Imported Upstream version 1.7
[minitube] / src / playlist / PrettyItemDelegate.h
index 708256fcd35a8cd9593a07538407c9f3c6091349..8934f578a597361de6465c282a6f391c1e9bc557 100644 (file)
@@ -18,6 +18,7 @@ public:
     QSize sizeHint( const QStyleOptionViewItem&, const QModelIndex& ) const;
     void paint( QPainter*, const QStyleOptionViewItem&, const QModelIndex& ) const;
     QRect downloadButtonRect(QRect line) const;
+    QRect authorRect(const QModelIndex& index) const;
 
 private:
     void createPlayIcon();
@@ -27,7 +28,6 @@ private:
                                         const QModelIndex& index ) const;
 
     // active track painting
-    void paintSelectedOverlay( QPainter *painter, qreal x, qreal y, qreal w, qreal h ) const;
     void paintActiveOverlay( QPainter *painter, qreal x, qreal y, qreal w, qreal h ) const;
     void paintPlayIcon(QPainter *painter) const;
 
@@ -45,6 +45,7 @@ private:
 
     bool downloadInfo;
     QProgressBar *progressBar;
+
 };
 
 #endif