]> git.sur5r.net Git - minitube/blob - src/loadingwidget.h
simplified() instead of trimmed()
[minitube] / src / loadingwidget.h
1 #ifndef LOADINGWIDGET_H
2 #define LOADINGWIDGET_H
3
4 #include <QtGui>
5 #include "video.h"
6
7 class LoadingWidget : public QWidget {
8
9     Q_OBJECT
10
11 public:
12     LoadingWidget(QWidget *parent);
13     void setVideo(Video *video);
14     void clear();
15
16 public slots:
17     void bufferStatus(int);
18
19 private:
20     QLabel *titleLabel;
21     QLabel *descriptionLabel;
22     // TODO uncomment the whole progress bar feature
23     // when the Phonon backends will correctly emit bufferStatus(int)
24     // QProgressBar *progressBar;
25
26 };
27
28 #endif // LOADINGWIDGET_H