X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Floadingwidget.h;h=77a3b1dfce1bea6c507572c603863014f97c3376;hb=0817201dd8aa205f3532c3d850e63786b728e649;hp=254717f229ff5c514b3a3584e025baa5683c2587;hpb=d6e0a89670dd1fc404d18b7e52aefc9bef65a2e5;p=minitube diff --git a/src/loadingwidget.h b/src/loadingwidget.h index 254717f..77a3b1d 100644 --- a/src/loadingwidget.h +++ b/src/loadingwidget.h @@ -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; };