1 #include "grooveprogressbar.h"
2 #if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
3 #include "qmaemo5rotator.h"
5 grooveProgressBar::grooveProgressBar(QWidget *parent) :
8 bar = new QProgressBar();
11 lay = new QHBoxLayout();
14 this->setWindowTitle("Downloading / Buffering");
15 //rot = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior,this);
17 void grooveProgressBar::setMaximum(int maximum)
19 bar->setMaximum(maximum);
21 int grooveProgressBar::maximum()
23 return bar->maximum();
26 void grooveProgressBar::setValue(int position)
28 bar->setValue(position);