1 #include "grooveprogressbar.h"
2 #include "qmaemo5rotator.h"
3 grooveProgressBar::grooveProgressBar(QDialog *parent) :
6 bar = new QProgressBar();
9 lay = new QHBoxLayout();
12 this->setWindowTitle("Downloading / Buffering");
13 rot = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior,this);
15 void grooveProgressBar::setMaximum(int maximum)
17 bar->setMaximum(maximum);
19 int grooveProgressBar::maximum()
21 return bar->maximum();
24 void grooveProgressBar::setValue(int position)
26 bar->setValue(position);