]> git.sur5r.net Git - minitube/blobdiff - src/loadingwidget.h
Fixed pause action status tip
[minitube] / src / loadingwidget.h
index 254717f229ff5c514b3a3584e025baa5683c2587..77a3b1dfce1bea6c507572c603863014f97c3376 100644 (file)
@@ -11,17 +11,18 @@ class LoadingWidget : public QWidget {
 public:
     LoadingWidget(QWidget *parent);
     void setVideo(Video *video);
+    void setError(QString message);
+    void clear();
 
 public slots:
     void bufferStatus(int);
 
-protected:
-    void paintEvent(QPaintEvent *event);
-
 private:
     QLabel *titleLabel;
     QLabel *descriptionLabel;
-    QProgressBar *progressBar;
+    // TODO uncomment the whole progress bar feature
+    // when the Phonon backends will correctly emit bufferStatus(int)
+    // QProgressBar *progressBar;
 
 };